Failure [-12]

by Brian Williamson » Wed, 25 Nov 2009 00:06:07 GMT

Sponsored Links
 Hi All, I tried to load an app onto the Android dev 1 phone and got
the following message: Failure [-12]

Does anyone know what this message means?


Failure [-12]

by Xavier Ducrohet » Wed, 25 Nov 2009 09:06:41 GMT

 The list of install failure code is in the PackageManager class.

-12 is defined here: ;a=blob;f=core/java/android/content/pm/;h=cd48dcbcba3b5886f01a986ef71cb08412505e46;hb=refs/heads/eclair#l358

Basically the minSdkVersion in your app is higher than the device you are
trying to install on.

I'm guessing this is a relative old device image? More recent device builds
properly display most errors as INSTALL_FAILED_OLDER_SDK.


On Mon, Nov 23, 2009 at 8:15 PM, Brian Williamson <


Sponsored Links

Other Threads

1. Basic Questions

To install applications on android, we need the application to be in
the form of an .apk file regardless of what we use to develop it, i.e
SDK or NDK. Are there absolutely no other filetypes supported? If
there are further patches for the android oses which have been already
deployed on the phone, do we have to rebuild the image and install it
on the phone again or is it possible to install it on the phone?
Is it possible to have applications or services running on the device
which can be built along with the source code, so that it is non-
removable? I ask this because there might be some need for important
services which need to exist on the device in order to keep track of
applications or the device configuration. Is there anyway to perform a
silent installation of apps?
 And is it possible to install such applications on the phone..?

Android has already been ported to MIPS architecture as well as x86
machines. Does that mean we would still want the applications to be in
the form of an .apk file for installation?

And will all apk files no matter what it is built for (arm or mips
based) run on all android supported devices, taking into consideration
only the hardware independent functions being implemented in that

Thanks in advance.


2. android developer phone 1 firmware update issue


I want to update the firmware version of a ADP 1 handset. Currently it
version is 1.0, want to update it to 1.5. According to the HTC support
site ( I followed the
steps. I downloaded the radio image for version 1.5 from the given
link in this page, when i try to update the phone with this radio
image I found following error -

Installing from sdcard...
E:No signature (5 files)
E: Verification failed
Installation abortated.

How to solve this? While downloading there's no checksum error.


3. Bionic porting to an another OS

4. Why do all Android handsets run the same processor?

5. Invoking search by hardware key

6. How can I add genre info into artist and album list鈥

7. How to launch my app if some one clicks on email attachment?