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

-12 is defined here:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/content/pm/PackageManager.java;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.

Xav

On Mon, Nov 23, 2009 at 8:15 PM, Brian Williamson <
brianwilliams...@gmail.com> wrote:

> 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?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to android-beginners@googlegroups.com
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to