adb install gives Failure [-12] when deploying an application to phone

by Xavier Ducrohet » Tue, 02 Feb 2010 09:11:25 GMT

Sponsored Links
 the error code are defined in the class.
See here: ;a=blob;f=core/java/android/content/pm/;h=53a966d3db126eb6bce3b7878a4876db27ab4402;hb=eclair#l367

-12 seems to be INSTALL_FAILED_OLDER_SDK meaning that your app
requires a more recent build that your device is running.

This is confirmed by the info you provided, as your device runs
"Firware Version: 1.0", but you compiled your app for 1.1 and 1.5

1.0 is quite obsolete. I would flash something newer on the phone to
test your app. You can see the distribution of the different version
of android at 

Regarding signed application, all applications must be signed to run
on Android. See more information at 



Other Threads

1. The errors when use the aidl, need your help

Firstly, I create an aidl file named mp3PlayerInterface.aidl.
Then I try to use the aidl tool to parsing the aidl-file to java-file.
The error"mp3PlayerInterface should be declared in a file called com
nterface.aidl."happened no matter use the aidl-command derectly or
How to solve this issue?

2. Null ptr exception before starting activity

Hi All,

I just deployed my first app on the market tonight. It was running
nice on the emulator and on my G2.
But apparently several users have difficulties starting the app, and I
can't figure out why.

Here is the crash dump:
java.lang.RuntimeException: Unable to start activity ComponentInfo
java.lang.reflect.Method.invokeNative(Native Method)
dalvik.system.NativeStart.main(Native Method)

Any ideas ?


3. Android Online Radio

4. feedback system

5. ListView addHeaderView gives ClassCastException when adding LinearLayout

6. How can I give my paid app away for free to some users?

7. mp3 streaming