Similar issue on Ubuntu 10.04 building Android Gingerbread, but with the 
opposite solution.

For several months now the Sun Java 1.6.0_31 version has worked fine, while 
the OpenJDK version gives build errors.
On my system the Sun version was selected for all Java packages except for 
the 'jar' package (simply forgot to set that one as well).
This has always worked fine. With the openjdk update installed this Monday 
everything still builds fine, but the Android target crashes with the same 
error log that you have listed above.
Once I found out that the 'jar' package was responsible for this, selecting 
the java-6-sun version solves the issue for me.
Apparently the older 'jar' versions in OpenJDK were compatible with the Sun 
version, but the latest version is not.

Strange that on Ubuntu 10.04 the Sun version is needed while on Ubuntu 12 
apparently the OpenJDK version is required, unless it has to do with the 
Android versions.
Note: To be complete you should also select the Java version for package 
'javap', although you will hardly use this one.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to