Recently do Android development, encountered a problem, is to import local or remote projects, there will be a large number of errors, mainly can ' t resovled, and then the whole project is a mistake, this problem plagued me for a long time, today finally found the reason.
There is a typical feature, you will find that the Gen file is empty, that is, there is no R file, so that the control can not find the path, the reason is--------> import Project when the import Error!!!
When importing a project, selecting Import->general->existing Project and then importing will result in an error, and we are importing an Android project, so you must select Import->android->existing Android project, and then find the Gen file correctly imported, then it's OK
I don't know if I'm the one who committed this stupid mistake, everybody warning it ....
Android development issues