I've installed the android sdk along with version 1.1, 1.5, 1.6, 2.0, 2.1-update and 2.2.
I've selected android 2.2, hit launch. The emulator starts and while its booting, titanium times out so I hit launch again after it is booted this time. This then appears in Titanium
[INFO] Building KitchenSink for Android ... one moment [INFO] Copying project resources.. [INFO] Tiapp.xml unchanged, skipping class generation [INFO] Manifest unchanged, skipping Java build [ERROR] /Users/ronnie/Developer/android-sdk-mac_x86/tools/apkbuilder [INFO] Installing application on device [ERROR] Failed installing com.nolanwright.kitchensink: pkg: /data/local/tmp/app.apk
I've done some searching on here and it appears this is a common problem, yet I still cannot figure out how to solve it.
With clean Android VM I've found that while building KitchenSink it gives me:
[TRACE] E/PackageManager( 54): Package com.appcelerator.kitchensink requires unavailable shared library com.google.android.maps; ignoring!
[ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk [TRACE] Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY
The solution: just switch from SDK: 1.6 to SDK: APIs 1.6.
This will create another Android virtual machine with the missing libraries and then all will work fine.
I appreciate the possible workaround, but this thing should compile without having to do that
You need to set your log level to Trace to see what the actual error is. Once you have that it'll probably be clear what the problem is.
This is your showcase project. It should work out of the box so newbies can get a good impression and use it as a case study of how things should be. Please make it work asap…. Thanks
I recently got KitchenSink on Android to run by creating a new project (called BathroomSink ;) ) and then copying the Resources folder from the KitchenSink to the new project. You may also wanna copy certain parts of the KitchenSink configuration file, as well.
After you've copied everything, restart Titanium Developer and the emulator, select your new project, and run it.