R.java file is not generated when creating a new Android project in eclipse and android studio

R.java file is not generated for new Android projects in eclipse and Android studio. This happened after I updated

Android SDK Tools -> 24.4.1 (latest version)
Android SDK Platform-tools -> 23.1 (latest version)
Android SDK Build-tools -> 23.0.2 (latest version)

Before that, I don’t remember which versions I used, but Eclipse and Android Studio worked fine.

I searched for R.java not generated on top of stackoverflow and some other websites, but my problem is not fixed.

I tried Project → Clean and build did not work, and also deleted gen / folder and build, but R.java was not generated anyway.

enter image description here

Tried to check errors in xml names and data for errors, but could not find them.

Also tried right-clicking on MyProject -> properties -> Java Build Path . All libraries are checked.

enter image description here

android-studio , R MainActivity.

( ) .

enter image description here

Ubuntu 14.04 LTS. Android Eclipse: R.java Nevin Chen ia32-libs ubuntu. Ubuntu 13. .

Android eclipse, , , , ( R.java , ). , , R.java , MainActivity R.

, android-sdk-linux, eclipse . android-sdk-linux developer.android.com android-sdk-linux, eclipse adt. , , R.java.

, R.java, , . R.java . .

0
2

. 64- , eclipse -. Android SDK 32- , 32- 64- Ubuntu.

    sudo apt-get install lib32z1

    sudo apt-get install lib32stdcc++6

. , @Denis Uyeda R.java, .

0

, . , /// ..

, .

0

All Articles