Titanium Community Questions & Answer Archive

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

Failed installing Android KitchenSink on Linux

I am running with 1.3 Android code and 1.3 kitchensink. When trying to Launch on the emulator in Linux, I receive the message "Failed installing com.nolanwright.kitchensink: pkg: /data/local/tmp/app.apk"

I d/l all the android sdk packages and tried with the APIs 2.01 and APIs 2.1.

— asked May 19th 2010 by Mike Sywensky
  • android
  • kitchensink
  • linux
1 Comment
  • Which version of Linux are you using. Please put the rest of the Log at Trace level in a pastie so we can see if there is other information that might help track it down.

    Since you don't mention them, do you have the 1.6 (API Level 4) platform installed?

    — commented June 3rd 2010 by Don Thorp

4 Answers

  • I saw this issue on MaxOSX until I sorted out Java. The Mac has a Java Preferences app where you can select which JDKs to use, and in which order it should try them. After using that it sorted out the packaging issue I was seeing. Basically, if 'android' doesn't bring up a GUI, then the packaging operation was going to fail.

    — answered June 3rd 2010 by Matt Collinge
    permalink
    0 Comments
  • Are you able to create and run a new Android project? If you are, you might try copying over the Resources directory of the Kitchen Sink to a newly created project.

    — answered June 3rd 2010 by Kevin Whinnery
    permalink
    0 Comments
  • Are you able to create and run a new Android project? If you are, you might try copying over the Resources directory of the Kitchen Sink to a newly created project.

    — answered June 3rd 2010 by Kevin Whinnery
    permalink
    0 Comments
  • I have a similar problem on the MacOSX. My Java SE pickup order is Java SE 6 (32 bit) and Jave SE 6 (64 bit). The android emulator UI was coming up properly, but I still got this error when I just create a new test application (just the default code that gets generated when creating a new project - no additional code added):

    [INFO] Launching Android emulator…one moment
    [INFO] Building TestApp2 for Android … one moment
    [INFO] Waiting for the Android Emulator to become available
    [INFO] Copying project resources..
    [INFO] Tiapp.xml unchanged, skipping class generation
    [INFO] Manifest unchanged, skipping Java build
    [INFO] Installing application on device
    [ERROR] Failed installing com.companyname.appname: pkg: /data/local/tmp/app.apk

    Any help would be appreciated.

    — answered August 15th 2010 by Satheesh Subramanian
    permalink
    0 Comments
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.