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 android.content.pm.PackageManager class.
See here: 
 http://android.git.kernel.org/?p=platform/frameworks/base.git ;a=blob;f=core/java/android/content/pm/PackageManager.java;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 
 http://developer.android.com/resources/dashboard/platform-versions.html 

Regarding signed application, all applications must be signed to run
on Android. See more information at
 http://developer.android.com/guide/publishing/app-signing.html 

Xav




>



Other Threads

1. Find contact with Phone Number

How can I find a contact enrty given a phone number?
--~--~---------~--~----~------------~-------~--~----~

2. Problem updating app in android market.

I have an application in the market and I tried to post an update, but
it says that "The apk must be signed with at least one certificate in
common with the previous version."  I don't have the previous
certificate and I can't simply create a new project since my app is a
paid app and I don't want to have users charged again.  What can I do?
--~--~---------~--~----~------------~-------~--~----~

3. Android should provide remote database access for applications...

4. Tab Formatting

5. Review Sebelum Pre-Order Dibuka :)

6. pertanyaan seputar magi

7. Android should provide remote database access for applications..