I cannot get Kitchen Sink app to compile in the Android emulator, the significant trace errors I get are:
[TRACE] THIS TOOL IS DEPRECATED. See –help for more information.
[TRACE] C:\Work\Appcelerator\KitchenSink\build\android\bin\classes.dex does not exist
[DEBUG] C:\Java\jdk1.6.0_21\bin\jarsigner.exe -storepass tirocks -keystore C:\ProgramData\Titanium\mobilesdk\win32\1.4.0\android\dev_keystore -signedjar C:\Work\Appcelerator\KitchenSink\build\android\bin\app.apk C:\Work\Appcelerator\KitchenSink\build\android\bin\app-unsigned.apk tidev
[DEBUG] C:\android-sdk\tools\zipalign.exe -v 4 C:\Work\Appcelerator\KitchenSink\build\android\bin\app.apk C:\Work\Appcelerator\KitchenSink\build\android\bin\app.apkz
[ERROR] C:\android-sdk\tools\zipalign.exe Unable to open 'C:\Work\Appcelerator\KitchenSink\build\android\bin\app.apk' as zip archive
[ERROR] System Error while compiling Android classes.dex
I get the same error on Mac OS/X :(
Had the same problem.
Fixed by changing SDK from 1.6 to API 1.6. After launching a few times it finally started :)
I had the same problem and this is what solved for me:
1) Open builder.py in the 1.4.x directory
2) Change Maximum Heap value from 512 to 1024 in the following line
if platform.system() == 'Windows':
dex_args = [self.java, '-Xmx512M'
I can intermittently achieve a compile to the emulator. I've also achieved a load to phone although there was a reported error the app actually was installed and working. The emulator issue was quelled (but not completely solved) when I deleted from my environment vars the Flash IDE fix for large project compiles, JAVA_TOOL_OPTIONS -Xmx1024M.
So yes working sometimes, but still feels like a little bit of beta app to me (if any core devs are listening!).
I don't think there is a definitive answer to a reliable compile setup, at least for those who not super technical (I am not, but have a good technical ability), I think one has to play around for the right thing for your system environment. BTW I've not tried anything on the Mac, this is a W7 only post.