[Android Q&A, Help & Troubleshooting] Daltonyx:
I've been trying constantly to figure out how to fix this, I've adjusted my PATH environment, I've got the correct JDK, everything. Once it gets to the point where I believe it's almost done, I get this error;

/home/daltonyx/android/AOKP_jb/out/target/common/obj/APPS/Calculator_intermediates/src/com/android/calculator2/R.java:10: cannot access java.lang.Object

bad class file: java/lang/Object.class(java/lang:eek:bject.class)

unable to access file: corrupted zip file

Please remove or make sure it appears in the correct subdirectory of the classpath.

public final class R {

^

frameworks/ex/variablespeed/src/com/android/ex/variablespeed/EngineParameters.java:31: cannot access java.lang.Object

bad class file: java/lang/Object.class(java/lang:eek:bject.class)

unable to access file: corrupted zip file

Please remove or make sure it appears in the correct subdirectory of the classpath.

/*package*/ final class EngineParameters {

^

javax/annotation/concurrent/Immutable.class(javax/annotation/concurrent:Immutable.class): warning: Cannot find annotation method 'value()' in type 'java.lang.annotation.Target': bad class file: java/lang/annotation/Target.class(java/lang/annotation:Target.class)

unable to access file: corrupted zip file

Please remove or make sure it appears in the correct subdirectory of the classpath.

make: *** [/home/daltonyx/android/AOKP_jb/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar] Error 41

make: *** Waiting for unfinished jobs....

make: *** [/home/daltonyx/android/AOKP_jb/out/target/common/obj/JAVA_LIBRARIES/android-ex-variablespeed_intermediates/classes-full-debug.jar] Error 41

/home/daltonyx/android/AOKP_jb/out/target/common/obj/APPS/Calendar_intermediates/src/com/android/calendar/R.java:10: cannot access java.lang.Object

bad class file: java/lang/Object.class(java/lang:eek:bject.class)

unable to access file: corrupted zip file

Please remove or make sure it appears in the correct subdirectory of the classpath.

public final class R {

^

/home/daltonyx/android/AOKP_jb/out/target/common/obj/JAVA_LIBRARIES/com.android.emailcommon_intermediates/src/src/com/android/emailcommon/service/IAccountService.java:6: cannot access java.lang.Object

bad class file: java/lang/Object.class(java/lang:eek:bject.class)

unable to access file: corrupted zip file

Please remove or make sure it appears in the correct subdirectory of the classpath.

public interface IAccountService extends android.os.IInterface

^

make: *** [/home/daltonyx/android/AOKP_jb/out/target/common/obj/APPS/Calendar_intermediates/classes-full-debug.jar] Error 41

make: *** [/home/daltonyx/android/AOKP_jb/out/target/common/obj/JAVA_LIBRARIES/com.android.emailcommon_intermediates/classes-full-debug.jar] Error 41

daltonyx@Ubuntonyx:~/android/AOKP_jb$ \

If it helps any, I'm on Ubuntu 12.10, which according to the AOKP site, should work just fine. I've hunted around the internet, hunted through XDA, and I can't find a resolution to this. I just want to finish my build!

Can somebody please help?

I posted it here for the thought of someone in the future having the same error as I, if I can get a resolution.

Hopefully it will help them too!