Hey All,
  So I'm trying to sign my application in release mode and I can't
seem to get it to install on the device.

When I try to install using "adb install -r" I get "Failure
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]". If I stick the APK on the
device and try installing from ES File Explorer on the device itself,
I get "Application not installed" at the end. My device is set up to
install from unknown sources. I've had no problems getting debug
builds on the device.

I'm following the signing instructions here:
http://developer.android.com/guide/publishing/app-signing.html
Here's the command line I used for making the key:
keytool -genkey -v -keystore SierraLimaSoftware.keystore -alias SLS -
keyalg RSA -keysize 2048 -validity 10000
I'm signing my apk with
jarsigner -verbose -keystore SierraLimaSoftware.keystore bin/
ShellClientActivity-release-unsigned.apk SLS
I'm getting this issue regardless of whether I do zipalign or not

I'm verifying the signing with this command line:
jarsigner -verify -verbose -certs bin/ShellClientActivity-release-
unsigned.apk
When I do I get the following suspicious warnings:
"[CertPath not validated: null]" for every file in the apk and
"Warning: This jar contains entries whose certificate chain is not
validated."
I have no idea what this means, whether it's important or how to fix
it.

Here's my setup:
The device I'm using is a Coby MID7127 running android 2.3.3:

Here's my Java version:
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)

I'm using android SDK R14

I'm builiding on Windows XP with Service Pack 3

Anybody seen issues like this? Know how to fix it? Know what the
warnings I'm getting from jarsigner -verify mean? Any help would be
really appreciated, my fingers are starting to hurt from scratching my
head :-)

Thanks,
  Omri

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