During installation I received the following failure:
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
You can turn on Logcat to debug the installation failure:
adb logcat
My Logcat yielded the following errors:
E/PackageParser( 74): Package com.website.mclass has no certificates at entry assets/
To solve this issue, you need to sign the apk file before installing. Here's how:
jarsigner -verbose -keystore
The default passphrase is android
To verify the certification, you can again use jarsigner:
jarsigner -verify -verbose -certs (directory)
The last command line printout should now read:
jar verified.
No comments:
Post a Comment