I just installed Eclipse on my computer. And I make a blank Android project via its wizard step by step. That means this project should work fine after it is created. But it cannot and show error of "R cannot be resolved to a variable
". And I found that the gen
directory is empty and it won't generate anything new in this directory even that I try to Clean
and select Build Automatically
option already.
I download an existing Android project from my Github and it can work. But after I run Clean
, it gave the same Error information and its gen
directory is empty again.
Why and how to solve it? Thanks!