Website:
https://ionicframework.com/docs/intro/deploying/
Create the key using the above.
For finding the alias name:
keytool -keystore formconnect.keystore -list -v
Steps:
1)Change Version
2)ionic cordova build android --prod --release
3)cd APP\platforms\android\app\build\outputs\apk\release>
4)Sign the apk file
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore app-release-unsigned.apk alias_name
5) Rename the old apk file.
6) zip the apk file to be put into the playstore
D:\android_sdk_old\build-tools\26.0.2\zipalign -v 4 app-release-unsigned.apk Planner.apk
https://ionicframework.com/docs/intro/deploying/
Create the key using the above.
For finding the alias name:
keytool -keystore formconnect.keystore -list -v
Steps:
1)Change Version
2)ionic cordova build android --prod --release
3)cd APP\platforms\android\app\build\outputs\apk\release>
4)Sign the apk file
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore app-release-unsigned.apk alias_name
5) Rename the old apk file.
6) zip the apk file to be put into the playstore
D:\android_sdk_old\build-tools\26.0.2\zipalign -v 4 app-release-unsigned.apk Planner.apk
No comments:
Post a Comment