Reputation: 209
I am Working In Eclipse For Android development.Problem is that When Ever I Create new Android Project in Eclipse It Creates the Project and in Source file always R
is Red Underlined.I Don't Understand Why This happening Even I created New Work Space and also Created Project With New Location.Please any one Help me what may the issue and How Can I Resolve it.Thanks
Upvotes: 1
Views: 132
Reputation: 6778
Check the answer here and the thread here. Check if your layouts contain any errors (this has to be done manually or automatically only with Android Studio). Search for incorrectly closed tags like <string>
- </string>
.
Upvotes: 0
Reputation: 1102
I have some "errors" when creating an Android project in Eclipse as well. For me it's sufficient clicking the project and pressing F5 to refresh. If R.java is corrupted try Project > Clean...
Upvotes: 1