Issue
at work I have a PC with Slackware 14 installed and NO internet connection available. I need to install Eclipse with the latest android-sdk.
I tried to create an Eclipse & android-sdk tar.gz file from my home PC with Ubuntu installed.
On the work PC I've unpacked the tar.gz file, I've installed the lastest JRE, I've executed eclipse and, when asked, selected the android-sdk folder.
But, when I open an existing project (or create a new one), Eclipse shows me this error:
R cannot be resolved to a variable eclipse
The 'R' error is, for example, in the java source file in wich is called the name of the activity.
Eclipse suggest me to "import Android.R"... If I make what eclipse suggests me the error moves to the activity name that follows 'R.id.' in the souce file!!!
Where is the mistake? What have I forgot in the "transportation" phase?
Thanks
Solution
[SOLVED] I don't know why and how, but the Ubuntu installation was corrupted!!! Probably during the compression phase something gone wrong. I've installed again and now I'm working at home and in my office!
Answered By - Massimo Costanzo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.