Nice error code.  Would like to see a list of possible return codes
that we can expect from adb install <foo>.apk.  Does anyone know the
git branch and the source files we would need to inspect for the adb
tool?  I briefly looked around under 
http://android.git.kernel.org/?p=platform/development.git;a=summary
but couldn't hone in on the right module under this tree.

So I ran into this too.  Was pulling out my hair on the emulator.  So
when you run your emulator, double check the avd (android list avd) to
make sure, as pointed out in the other response, that your API version
is correctly matching the app.

@Raphael, thanks for the tip!
On May 13, 7:55 pm, HUANG Quan <huang...@gmail.com> wrote:
> hi guys,
>     I just installed android sdk1.5 on a ubuntu 8.04 machine. The IDE
> is eclipse3.4 with ADT.
>     I created a HelloAndroid project with only the automatically
> generated code. It compiled successfully and worked on the emulator.
> But when I tried toinstallthe apk to my G1. It failed with only
> return code [-12].
>     I tried anroid 1.1 and android 1.5. The results are the same. But
> my G1 works fine when the sdk is 1.1.
>     Any idea?
>
> Thanks.

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

Reply via email to