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:
 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 <



>


Sponsored Links


Other Threads

1. Polite discussion of lite/trial vs pro distribution

I don't think anyone would flame you on this list.
You had a free app, you made some improvements which cost you this and
that hours of hard work, angry wife, etc.... :) and you want a reward
for that - how this can be wrong?

What I'd do is have the lite version display a dialog on 1st startup,
showing a 1-time notice explaining everything you've just said in a
way that users can understand, including instructions on how to
download and install the previous full-featured free version from your
web site (explaining to users that they have to enable apps from 2rd
party sites, menu paths to do that, etc.).

Don't forget to mention that it can't possibly be your fault that an
imbecile at Google decided that an app's description could fit in 325
chars, and express your confidence that the issue will be fixed by
Google in a timely manner, and asking users politely to file this is a
bug on the Market's forums :)

Cheers




--~--~---------~--~----~------------~-------~--~----~

2. Why would ScrollView not scroll completely?

If i try to scroll everything down completely, through code, it always
stops short of the task, something like a few pixels, why would that
be?

I've tried scrollBy, scrollTo, and also fullScroll
(ScrollView.FOCUS_DOWN).

Thanks,
Teo

P.S. Manually i can scroll completely.
--~--~---------~--~----~------------~-------~--~----~

3. Interrupt testing

4. Problems......

5. Cannot Retrieve Latitude and Longitude without Internet Connection

6. What is the query that need to be done when trying to get Incomming and Outgoing calls ?

7. Store prepopulated sqlite database in an app