[Nexus 7 Android Development] vasumit:
Hi Friends,

I hope someone will spare some time to have a look at my build error I am getting. I am using Ubuntu 12.10 x64bit. Followed the document but getting this showstopper bug. It took almost one hour or more and then stopped. Please help friends.

/home/ssen/android/system/out/target/common/docs/api-stubs
Note: packages/providers/TelephonyProvider/src/com/android/providers/telephony/SmsProvider.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target Java: Bluetooth (/home/ssen/android/system/out/target/common/obj/APPS/Bluetooth_intermediates/classes)
Proguard: /home/ssen/android/system/out/target/common/obj/APPS/Development_intermediates/proguard.classes.jar
ProGuard, version 4.4
Reading program jar [/home/ssen/android/system/out/target/common/obj/APPS/Development_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android.test.runner_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar]
Copying: /home/ssen/android/system/out/target/common/obj/APPS/Settings_intermediates/proguard.classes.dex
Copying: /home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/noproguard.classes.dex
Copying: /home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/classes-jarjar.jar
Install: /home/ssen/android/system/out/target/product/grouper/system/bin/abcc
Install: /home/ssen/android/system/out/target/product/grouper/system/framework/mms-common.jar
target Java: uiautomator (/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/uiautomator_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar]
Install: /home/ssen/android/system/out/target/product/grouper/system/lib/libRS.so
Install: /home/ssen/android/system/out/host/linux-x86/bin/abcc
Install: /home/ssen/android/system/out/host/linux-x86/bin/bcc
Preparing output jar [/home/ssen/android/system/out/target/common/obj/APPS/Development_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/ssen/android/system/out/target/common/obj/APPS/Development_intermediates/classes.jar]
Install: /home/ssen/android/system/out/host/linux-x86/bin/mcld
Copying: /home/ssen/android/system/out/target/common/obj/APPS/Bluetooth_intermediates/classes-jarjar.jar
target Dex: Development
target Package: Settings (/home/ssen/android/system/out/target/product/grouper/obj/APPS/Settings_intermediates/package.apk)
target Jar: services (/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/javalib.jar)
'/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/classes.dex' as 'classes.dex'...
Copying: /home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/uiautomator_intermediates/classes-jarjar.jar
Install: /home/ssen/android/system/out/target/product/grouper/system/lib/libRSDriver.so
Copying: /home/ssen/android/system/out/target/common/obj/APPS/Bluetooth_intermediates/emma_out/lib/classes-jarjar.jar
target Java: SystemUI (/home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/classes)
Copying: /home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/classes.jar
Install: /home/ssen/android/system/out/target/product/grouper/system/framework/services.jar
Copying: /home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/uiautomator_intermediates/emma_out/lib/classes-jarjar.jar
Install: /home/ssen/android/system/out/target/product/grouper/system/lib/librs_jni.so
Copying: /home/ssen/android/system/out/target/common/obj/APPS/Bluetooth_intermediates/classes.jar
Copying: /home/ssen/android/system/out/target/common/obj/APPS/Development_intermediates/proguard.classes.dex
Proguard: /home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/proguard.classes.jar
ProGuard, version 4.4
Reading program jar [/home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/mms-common_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar]
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying: /home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/uiautomator_intermediates/classes.jar
Copying: /home/ssen/android/system/out/target/common/obj/APPS/Bluetooth_intermediates/noproguard.classes.jar
target Package: Development (/home/ssen/android/system/out/target/product/grouper/obj/APPS/Development_intermediates/package.apk)
Note: com.android.common.SharedPreferencesCompat accesses a method 'apply()' dynamically
Maybe this is library method 'android.app.SharedPreferencesImpl$EditorImpl { void apply(); }'
Maybe this is library method 'android.content.SharedPreferences$Editor { void apply(); }'
Maybe this is library method 'android.media.RemoteControlClient$MetadataEditor { void apply(); }'
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
'/home/ssen/android/system/out/target/common/obj/APPS/Development_intermediates/classes.dex' as 'classes.dex'...
Note: there were 1 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using '-keep' or '-keepclassmembers').
Preparing output jar [/home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/classes.jar]
Copying: /home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/classes-jarjar.jar
Copying: /home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/uiautomator_intermediates/noproguard.classes.jar
target Dex: Bluetooth
Install: /home/ssen/android/system/out/target/product/grouper/system/app/Development.apk
Copying: /home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/emma_out/lib/classes-jarjar.jar
target Dex: TelephonyProvider
target Dex: uiautomator
Copying: /home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/classes.jar
Copying: /home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/proguard.classes.dex
Copying: /home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/uiautomator_intermediates/noproguard.classes.dex
Proguard: /home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/proguard.classes.jar
ProGuard, version 4.4
Reading program jar [/home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar]
target Package: TelephonyProvider (/home/ssen/android/system/out/target/product/grouper/obj/APPS/TelephonyProvider_intermediates/package.apk)
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar]
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar]
'/home/ssen/android/system/out/target/common/obj/APPS/TelephonyProvider_intermediates/classes.dex' as 'classes.dex'...
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar]
target Jar: uiautomator (/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/uiautomator_intermediates/javalib.jar)
'/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/uiautomator_intermediates/classes.dex' as 'classes.dex'...
Copying: /home/ssen/android/system/out/target/common/obj/APPS/Bluetooth_intermediates/noproguard.classes.dex
Install: /home/ssen/android/system/out/target/product/grouper/system/app/TelephonyProvider.apk
target Package: Bluetooth (/home/ssen/android/system/out/target/product/grouper/obj/APPS/Bluetooth_intermediates/package.apk)
'/home/ssen/android/system/out/target/common/obj/APPS/Settings_intermediates/classes.dex' as 'classes.dex'...
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/classes.jar]
adding: lib/ (stored 0%)
adding: lib/armeabi-v7a/ (stored 0%)
adding: lib/armeabi-v7a/libbluetooth_jni.so (deflated 57%)
'/home/ssen/android/system/out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex' as 'classes.dex'...
Reading library jar [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar]
Install: /home/ssen/android/system/out/target/product/grouper/system/framework/uiautomator.jar
Install: /home/ssen/android/system/out/target/product/grouper/system/app/Bluetooth.apk
Note: the configuration refers to the unknown class 'com.android.systemui.statusbar.tablet.TabletStatusBarService'
Install: /home/ssen/android/system/out/target/product/grouper/system/app/Settings.apk
Note: there were 1 references to unknown classes.
You should check your configuration for typos.
Preparing output jar [/home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/proguard.classes.jar]
Copying resources from program jar [/home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/classes.jar]
target Dex: SystemUI
Copying: /home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/proguard.classes.dex
target Package: SystemUI (/home/ssen/android/system/out/target/product/grouper/obj/APPS/SystemUI_intermediates/package.apk)
'/home/ssen/android/system/out/target/common/obj/APPS/SystemUI_intermediates/classes.dex' as 'classes.dex'...
Install: /home/ssen/android/system/out/target/product/grouper/system/app/SystemUI.apk
DroidDoc took 16 sec. to write docs to /home/ssen/android/system/out/target/common/docs/api-stubs
Compiling SDK Stubs: /home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar
/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/security/cert/PKIXBuilderParameters.java:5: warning: [unchecked] unchecked conversion
found : java.util.Set
required: java.util.Set<java.security.cert.TrustAnchor>
public PKIXBuilderParameters(java.util.Set<java.security.cert.TrustAnchor> trustAnchors, java.security.cert.CertSelector targetConstraints) throws java.security.InvalidAlgorithmParameterException { super((java.util.Set)null); throw new RuntimeException("Stub!"); }
^
/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:6: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:7: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:8: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/concurrent/ScheduledThreadPoolExecutor.java:9: warning: [unchecked] unchecked conversion
found : java.util.concurrent.BlockingQueue
required: java.util.concurrent.BlockingQueue<java.lang.Runnable>
public ScheduledThreadPoolExecutor(int corePoolSize, java.util.concurrent.ThreadFactory threadFactory, java.util.concurrent.RejectedExecutionHandler handler) { super(0,0,0,(java.util.concurrent.TimeUnit)null,(java.util.concurrent.BlockingQueue)null,(java.util.concurrent.ThreadFactory)null,(java.util.concurrent.RejectedExecutionHandler)null); throw new RuntimeException("Stub!"); }
^
/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java:5: warning: [unchecked] unchecked conversion
found : java.lang.ref.ReferenceQueue
required: java.lang.ref.ReferenceQueue<? super org.apache.http.impl.conn.tsccm.BasicPoolEntry>
public BasicPoolEntryRef(org.apache.http.impl.conn.tsccm.BasicPoolEntry entry, java.lang.ref.ReferenceQueue<java.lang.Object> queue) { super(null,(java.lang.ref.ReferenceQueue)null); throw new RuntimeException("Stub!"); }
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 warnings
target Java: Apollo (/home/ssen/android/system/out/target/common/obj/APPS/Apollo_intermediates/classes)
target Java: Calculator (/home/ssen/android/system/out/target/common/obj/APPS/Calculator_intermediates/classes)
target Java: Calendar (/home/ssen/android/system/out/target/common/obj/APPS/Calendar_intermediates/classes)
target Java: android-ex-variablespeed (/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android-ex-variablespeed_intermediates/classes)
frameworks/ex/variablespeed/src/com/android/ex/variablespeed/EngineParameters.java:19: cannot access android.media.AudioManager
bad class file: android/media/AudioManager.class(android/media:AudioManager.class)
unable to access file: corrupted zip file
Please remove or make sure it appears in the correct subdirectory of the classpath.
import android.media.AudioManager;
^
make: *** [/home/ssen/android/system/out/target/common/obj/JAVA_LIBRARIES/android-ex-variablespeed_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
/home/ssen/android/system/out/target/common/obj/APPS/Apollo_intermediates/src/src/com/andrew/apollo/IApolloService.java:6: cannot access android.os.IInterface
bad class file: android/os/IInterface.class(android/os:IInterface.class)
unable to access file: corrupted zip file
Please remove or make sure it appears in the correct subdirectory of the classpath.
public interface IApolloService extends android.os.IInterface
^
make: *** [/home/ssen/android/system/out/target/common/obj/APPS/Apollo_intermediates/classes-full-debug.jar] Error 41
packages/apps/Calculator/src/com/android/calculator2/CalculatorEditable.java:19: cannot access android.text.Editable
bad class file: android/text/Editable.class(android/text:Editable.class)
unable to access file: corrupted zip file
Please remove or make sure it appears in the correct subdirectory of the classpath.
import android.text.Editable;
^
make: *** [/home/ssen/android/system/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar] Error 41
packages/apps/Calendar/extensions_src/com/android/calendar/extensions/AboutPreferences.java:19: cannot access android.app.Activity
bad class file: android/app/Activity.class(android/app:Activity.class)
unable to access file: corrupted zip file
Please remove or make sure it appears in the correct subdirectory of the classpath.
import android.app.Activity;
^
make: *** [/home/ssen/android/system/out/target/common/obj/APPS/Calendar_intermediates/classes-full-debug.jar] Error 41