Hi,
I am new to Android development, was trying to deploy a simple
HelloWorld app to a G1 dev phone via USB cable using "adb install". I
keep getting the following error:

     adb install HelloAndroid.apk
     250 KB/s (12008 bytes in 0.046s)
        pkg: /data/local/tmp/HelloAndroid.apk
     Failure [-12]

I have tried the following:
1. Package the app as UnSign and do adb install
2. Package the app as Sign App and do adb install
3. Try Android 1.1 & 1.5 respectively
And they all yield the same error Failure[-12] error.

My questions are:
1. Since it is a development phone (G1 Dev Phone 1), should I package
it as Sign or Unsign application?
2. How do I know if the phone needs Android 1.1 or 1.5 or other
versions? In the Settings/About Phone, this is the info listed:
     Model Number: Android Dev Phone 1
     Firware Version: 1.0
     Baseband Version: 62.33.20.08H_1.22.12.29
     Kernel Version: apa27#6
     Build Number: dream_devphone_userdebug 1.0 UNLOCKED .... test
keys
3. Any insights on what is causing this problem and how to fix it? Do
I have to flash a new image on the phone?

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