Closed GoogleCodeExporter closed 9 years ago
P.S. Only one project - Chapter 2 - appears to have built correctly
Original comment by zvido...@btinternet.com
on 24 May 2011 at 6:34
Loaded code after ordering the book from Amazon UK - hoping to resolve this by
the time the book arrives next week.
Original comment by zvido...@btinternet.com
on 24 May 2011 at 6:51
ISSUE HAS NOW BEEN RESOLVED
Original comment by zvido...@btinternet.com
on 25 May 2011 at 5:35
I have read and coded from the book and am now on chapter 4. I decided to
import all the source code to a separate workspace and now have the same above
mentioned problem. All projects contain errors. Only Chapter 2 is built
correctly.
Original comment by fahadshe...@gmail.com
on 7 Jun 2011 at 3:23
i have the same case, it says that gen is missing in all of them except #2
zvido.. how did you resolve this issue??
Original comment by ali.sam...@gmail.com
on 9 Jun 2011 at 6:43
Hi Ali
The discussion has moved to the author's website (badlogic) forum.
I simply cleaned the projects again and agiain, shutting down and restarting
Eclipse from time to time, until by themselves they started creating the
generated R files.
A couple of projects were aimed at SDKs I do not have installed (2.3, 3.0) so I
had to go into the project properties and cange the targets to 2.2.
Best of luck.
Original comment by zvidor...@googlemail.com
on 9 Jun 2011 at 7:26
I think it would be better if you skipped the step where you switch to another
workspace since it messes (resets) the ADT settings
Original comment by ajbo...@gmail.com
on 15 Aug 2011 at 8:46
General solution:
1) make sure your Android SDK path is set correctly in your workspace (Window
-> Preferences -> Android).
2) Create the gen/ folders manually, then refresh the projects in Eclipse.
Original comment by badlogicgames
on 24 Aug 2011 at 4:06
Tested this with Eclipse Indigo in Ubuntu
1. Import all the projects into Eclipse.
2. Restart Eclipse.
3. Edit the file "project.properties" for each of the projects with errors:
change to "target=android-8" if you have android 2.2 installed. Save the file
and Eclipse will auto-generate and the error will be resolved.
Original comment by kk7...@gmail.com
on 1 Jan 2012 at 4:33
Original issue reported on code.google.com by
zvido...@btinternet.com
on 24 May 2011 at 6:05