johnhamelink
11/13/2010 - 8:24 PM

Errors from launching android emulator within appcelerator

Errors from launching android emulator within appcelerator

[INFO] Launching Android emulator...one moment
[DEBUG] From: /opt/android-sdk-linux_x86/tools/emulator
[DEBUG] SDCard: /home/john/.titanium/android2.sdcard
[DEBUG] AVD ID: 4
[DEBUG] AVD Skin: WVGA800
[DEBUG] SDK: /opt/android-sdk-linux_x86
[DEBUG] /opt/android-sdk-linux_x86/tools/emulator -avd titanium_4_WVGA800 -port 5560 -sdcard /home/john/.titanium/android2.sdcard -logcat '*:d *' -no-boot-anim -partition-size 128
[INFO] Building lumberjack for Android ... one moment
[DEBUG] Waiting for device to be ready ...
[DEBUG] Device connected... (waited 30 seconds)
[DEBUG] waited 28.763036 seconds on emulator to get ready
[INFO] Waiting for the Android Emulator to become available
[DEBUG] Device connected... (waited 10 seconds)
[DEBUG] waited 10.018343 seconds on emulator to get ready
[INFO] Waiting for the Android Emulator to become available
[DEBUG] /opt/android-sdk-linux_x86/tools/adb -e shell ls /data/app/com.johnhamelink.lumberjack.apk
[DEBUG] com.johnhamelink.lumberjack installed? False
[DEBUG] /opt/android-sdk-linux_x86/tools/adb -e shell ls /sdcard/Ti.debug/com.johnhamelink.lumberjack/Resources/app.js
[DEBUG] com.johnhamelink.lumberjack resources installed? False
[INFO] Copying project resources..
[DEBUG] java -cp /opt/titanium/mobilesdk/linux/1.4.0/android/js.jar org.mozilla.javascript.tools.jsc.Main -opt 9 -nosource -package org.appcelerator.generated -d /home/john/lumberjack/build/android/bin/classes /home/john/lumberjack/build/android/bin/assets/Resources/app.js
[DEBUG] /opt/android-sdk-linux_x86/tools/adb -e shell ls /data/app/com.johnhamelink.lumberjack.apk
[DEBUG] com.johnhamelink.lumberjack installed? False
[DEBUG] /opt/android-sdk-linux_x86/tools/adb -e shell ls /sdcard/Ti.debug/com.johnhamelink.lumberjack/Resources/app.js
[INFO] Tiapp.xml unchanged, skipping class generation
[DEBUG] found splash screen at /home/john/lumberjack/build/android/bin/assets/Resources/default.png
[DEBUG] com.johnhamelink.lumberjack resources installed? False
[INFO] Copying project resources..
[DEBUG] java -cp /opt/titanium/mobilesdk/linux/1.4.0/android/js.jar org.mozilla.javascript.tools.jsc.Main -opt 9 -nosource -package org.appcelerator.generated -d /home/john/lumberjack/build/android/bin/classes /home/john/lumberjack/build/android/bin/assets/Resources/app.js
[INFO] Tiapp.xml unchanged, skipping class generation
[DEBUG] found splash screen at /home/john/lumberjack/build/android/bin/assets/Resources/default.png
[INFO] Manifest unchanged, skipping Java build
[DEBUG] /opt/android-sdk-linux_x86/platforms/android-4/tools/aapt package -f -M AndroidManifest.xml -A /home/john/lumberjack/build/android/bin/assets -S res -I /opt/android-sdk-linux_x86/platforms/android-4/android.jar -I /opt/titanium/mobilesdk/linux/1.4.0/android/titanium.jar -F /home/john/lumberjack/build/android/bin/app.ap_
[DEBUG] /opt/android-sdk-linux_x86/tools/apkbuilder /home/john/lumberjack/build/android/bin/app-unsigned.apk -u -z /home/john/lumberjack/build/android/bin/app.ap_ -f /home/john/lumberjack/build/android/bin/classes.dex -rf /home/john/lumberjack/build/android/src -rj /opt/titanium/mobilesdk/linux/1.4.0/android/commons-codec-1.3.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/js.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/titanium.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/jaxen-1.1.1.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-api.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-yahoo.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-database.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-platform.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-map.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-xml.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-gesture.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-geolocation.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-filesystem.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-json.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-utils.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-analytics.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-facebook.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-media.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-accelerometer.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-app.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-ui.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-network.jar
[ERROR] /opt/android-sdk-linux_x86/tools/apkbuilder
[ERROR] /opt/android-sdk-linux_x86/tools/zipalign Unable to open '/home/john/lumberjack/build/android/bin/app.apk' as zip archive
[DEBUG] jarsigner -storepass tirocks -keystore /opt/titanium/mobilesdk/linux/1.4.0/android/dev_keystore -signedjar /home/john/lumberjack/build/android/bin/app.apk /home/john/lumberjack/build/android/bin/app-unsigned.apk tidev
[DEBUG] /opt/android-sdk-linux_x86/tools/zipalign -v 4 /home/john/lumberjack/build/android/bin/app.apk /home/john/lumberjack/build/android/bin/app.apkz
[ERROR] System Error while compiling Android classes.dex
[INFO] Manifest unchanged, skipping Java build
[DEBUG] /opt/android-sdk-linux_x86/platforms/android-4/tools/aapt package -f -M AndroidManifest.xml -A /home/john/lumberjack/build/android/bin/assets -S res -I /opt/android-sdk-linux_x86/platforms/android-4/android.jar -I /opt/titanium/mobilesdk/linux/1.4.0/android/titanium.jar -F /home/john/lumberjack/build/android/bin/app.ap_
[DEBUG] /opt/android-sdk-linux_x86/tools/apkbuilder /home/john/lumberjack/build/android/bin/app-unsigned.apk -u -z /home/john/lumberjack/build/android/bin/app.ap_ -f /home/john/lumberjack/build/android/bin/classes.dex -rf /home/john/lumberjack/build/android/src -rj /opt/titanium/mobilesdk/linux/1.4.0/android/commons-codec-1.3.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/js.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/titanium.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/jaxen-1.1.1.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-api.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-yahoo.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-database.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-platform.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-map.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-xml.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-gesture.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-geolocation.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-filesystem.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-json.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-utils.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-analytics.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-facebook.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-media.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-accelerometer.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-app.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-ui.jar -rj /opt/titanium/mobilesdk/linux/1.4.0/android/modules/titanium-network.jar
[DEBUG] jarsigner -storepass tirocks -keystore /opt/titanium/mobilesdk/linux/1.4.0/android/dev_keystore -signedjar /home/john/lumberjack/build/android/bin/app.apk /home/john/lumberjack/build/android/bin/app-unsigned.apk tidev
[ERROR] /opt/android-sdk-linux_x86/tools/apkbuilder
[DEBUG] /opt/android-sdk-linux_x86/tools/zipalign -v 4 /home/john/lumberjack/build/android/bin/app.apk /home/john/lumberjack/build/android/bin/app.apkz
[ERROR] System Error while compiling Android classes.dex
[ERROR] /opt/android-sdk-linux_x86/tools/zipalign Unable to open '/home/john/lumberjack/build/android/bin/app.apk' as zip archive