[android-developers] adb install gives Failure [-12] when deploying an application to phone

2010-02-01 Thread GSLDev
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

Re: [android-developers] adb install gives Failure [-12] when deploying an application to phone

2010-02-01 Thread Xavier Ducrohet
the error code are defined in the android.content.pm.PackageManager class. See here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/content/pm/PackageManager.java;h=53a966d3db126eb6bce3b7878a4876db27ab4402;hb=eclair#l367 -12 seems to be