My generation of R.java is non-existent, but my BuildConfig.java is still generated when projects are rebuilt. This problem is not localized to a single project in my workspace, but to the entire workspace which has projects in ranging from gingerbread to jb, all of which exhibit this error. I have been working with the Android platform for over a year now, and the R.java generation has always been a little mystical, but would always seem to fix itself with a restart of eclipse or a rebuild of the project.
This started when I ran a java update to java 7, so did a changed back to the java 6 sdk, specifically 1.6.0_26, did a fresh install of eclipse(4.2), the android sdk and adt, but to no effect.
I am working on this project with other group members(working off of the same master git repo), and they are not having problems with R.java generating, so therefore I can say for certainty that there are no errors in files causing the R.java to not generate.
And as a disclaimer, yes I have read the plethora of material on here with R.java related issues.
Any suggestions? Thanks
I had the exact same symptoms.
Problem
R.javanot getting build across the workspace, resulting in an error when trying to import it:The error reporting that the version of
adbcould not be determined despite existing:Solution
Installing
ia32-libsfixed it for me:root@humbee:~# uname -m x86_64 root@humbee:~# aptitude search ia32-libs p ia32-libs - ia32 shared libraries for use on amd64 and ia64 systems p ia32-libs-dev - ia32 development files for use on amd64 and ia64 systems p ia32-libs-gtk - GTK+ ia32 shared libraries v ia32-libs-static - root@humbee:~# aptitude install ia32-libs The following NEW packages will be installed: ia32-libs lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32tinfo5{a} lib32v4l-0 lib32z1 libc6-i386{a} [...]HTH,
dtk