I used this method.
File->Import->General->Existing Projects into Workspace, Next Select root directory: /path/to/project Projects-> Select All UNCHECK both “Copy projects into workspace” and “Add project to working sets” Finish
I got a error in all my Classes. In the onCreate method, setContentView(R.layout.main);
The error is:
R cannot be solved to a variable and main cannot be resolved or is not
a field.
Any help is appreciated.
Right click on the project, and take ‘android tools’, ‘Fix Project Properties’.
Then clean the project. If yet not recovered, repeat the steps by configuring the build path by reordering it..
Hope this might help you..! 🙂