I've created the apk signing key with jdk8, and when uploading the apk on play store , the devices with version 4.2 and below are not able to download the update . Its showing "Package file not signed correctly ". I've created the keystore file using keytool keygen . Build ID is 1089718.
Any help would be appreciated.
Any help would be appreciated.
- 7 Posts
- 0 Reply Likes
Posted 5 years ago
- 8261 Posts
- 263 Reply Likes
- 4 Posts
- 0 Reply Likes
Fix (from Damian Perera)
1. Build release APK on PhoneGap
2. Download APK and delete Meta-Inf folder inside it
3. Resign the APK locally
4. Zip align the APK
To do 3:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1
-keystore my-release-key.keystore my_application.apk alias_name
To do 4:
zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
1. Build release APK on PhoneGap
2. Download APK and delete Meta-Inf folder inside it
3. Resign the APK locally
4. Zip align the APK
To do 3:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1
-keystore my-release-key.keystore my_application.apk alias_name
To do 4:
zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
ryan, Developer
- 1538 Posts
- 132 Reply Likes
- 7 Posts
- 0 Reply Likes
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers
-
Programming (Others)
- 1167 Conversations
- 23 Followers


