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.
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.
-
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.
-
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.
-
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.apkAny help would be appreciated.