R.java File Is Not Generated In A Library Project
I'm trying to use the SlidingMenu library. As described, I created a new Android project using the library directory, tried 'Project > Clean' to generate the R.java but doesn't
Solution 1:
Un-checking and re-checking and "is library" helped for me.
Under Preferences > Android (for that lib project)
Solution 2:
There are many thing to get back R.java
- clean project
- Build project from project
- change the api of ex 2.2 to 4.0 and 4.0 to other version it will (re)create R.java file
finaly yet you cannot able to get R.java file then copy R.java file from other project paste it into gen folder then just build project.
Solution 3:
eclipse -> project -> build automatically -> check it
If it is already checked, uncheck it and check it again.
Solution 4:
Solved.
I do not know exactly what the reason, but the solution was to remove the Eclipse, the Android SDK and use the ADT Bundle from this link: http://developer.android.com/sdk/index.html
Before I was using a standard Eclipse IDE with the ADT plugin.
Thanks for the replies.
Post a Comment for "R.java File Is Not Generated In A Library Project"