Comments (9)
P.S. Only one project - Chapter 2 - appears to have built correctly
Original comment by [email protected]
on 24 May 2011 at 6:34
from beginning-android-games.
Loaded code after ordering the book from Amazon UK - hoping to resolve this by
the time the book arrives next week.
Original comment by [email protected]
on 24 May 2011 at 6:51
from beginning-android-games.
ISSUE HAS NOW BEEN RESOLVED
Original comment by [email protected]
on 25 May 2011 at 5:35
from beginning-android-games.
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 [email protected]
on 7 Jun 2011 at 3:23
from beginning-android-games.
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 [email protected]
on 9 Jun 2011 at 6:43
from beginning-android-games.
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 [email protected]
on 9 Jun 2011 at 7:26
from beginning-android-games.
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 [email protected]
on 15 Aug 2011 at 8:46
from beginning-android-games.
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
- Changed state: Done
from beginning-android-games.
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 [email protected]
on 1 Jan 2012 at 4:33
from beginning-android-games.
Related Issues (20)
- Chapter 4, pg: 180, Kindle edition: "while (true) {thread.join()}" ? HOT 3
- Cannot download projects HOT 2
- [Chapter 6] Mr Nom screen is not loaded correctly on android 3.0 emulator HOT 1
- Patch for /trunk/ch12-droidinvaders/src/com/badlogic/androidgames/droidinvaders/SettingsScreen.java
- [Chapter 7] error in GLSurfaceViewTest.java source code
- Eclipse doesn't allow @Override on the method headers
- TouchEvents are not scaled properly in all cases (on devices with a soft "bottom bar")
- Patch for /trunk/ch04-android-basics/src/com/badlogic/androidgames/MultiTouchTest.java
- i spent money to buy Beginning Android 4 Games Development, i want to get source code,but i do not download 7-zip HOT 1
- [Chapter 3] Cannot import project
- Display type deprecated HOT 1
- Field deprecated HOT 2
- Game says unfortunately stopped. Please help. HOT 1
- width instead of height in drawRect in AndroidGraphics in framework.impl
- Texture class missing width and height members
- Possible incorect method call in GLSurfaceViewTest.java HOT 1
- Miscalculation when drawing rectangles with AndroidGraphics.drawRect() (ch06-mrnom)
- AndroidGame onCreate does not calculate scale factors correctly
- Super Jumper - updateGameOver - indexOutOfBoundsException
- Errors and Warnings after cleaning projects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beginning-android-games.