On Wed, May 13, 2009 at 7:55 PM, HUANG Quan <[email protected]> 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 to install the 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.

Your G1 runs the Android 1.1 version so you must create projects that
target the SDK 1.1 (e.g. "minSdkVersion" must be "2" in the
AndroidManifest.xml).

R/

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

Reply via email to