Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Can't get KitchenSink to run on Android

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.

— asked November 10th 2010 by Ronnie Swietek
  • android
  • kitchensink
  • sdk

5 Answers

  • Accepted Answer

    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!

    But later:

    [ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk

    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.

    — answered November 17th 2010 by Alberto Gas
    • I dont have SDK: APIs 1.6

      I only have SDK: 1.1, 1.5, 1.6, 2.0, 2.0.1, 2.1-update1 and 2.2

      Nothing about APIs 1.6

      where do I get this?

      — commented November 17th 2010 by Ronnie Swietek
    • ok I figured it out..downloading APIs 1.6 did allow me to launch kitchen sink

      — commented November 17th 2010 by Ronnie Swietek
  • I appreciate the possible workaround, but this thing should compile without having to do that

    — answered November 10th 2010 by Ronnie Swietek
  • 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.

    — answered November 11th 2010 by Don Thorp
  • 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

    — answered November 17th 2010 by bob hall
  • 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.

    — answered November 10th 2010 by Ian Hawes
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.