R.java file not getting generated

Nimit_ZZ picture Nimit_ZZ · Aug 8, 2012 · Viewed 18k times · Source

I'm unable to the R.java problem in my half built Facebook app. I have selected the "Build automatically" option, I cleaned my project. I did all the recommended solutions to generate my R.java file.But still no success. I have 2 R.java in my "gen" folder. I have put a screenshot for better understanding.

enter image description here

all the buttons, textview and imageviews are not being recognized.

Answer

Nayeem picture Nayeem · May 20, 2013

I too had similar issue...

I went through many link from Google, but no use. At last I open Android SDK Manager to see if any thing missing from installed packages, and found "Android SDK Built-tools" is not installed.

I installed and follow below steps:
1. re-open eclipse.
2. comment error lines
3. build All
4. uncomment error lines to see if error gone.

Hope this will help someone...