key Name :pd-genie-officer.jks
password: pdgenieofficer
commands:
command 1 GENERATE A KEY(One Time Generation only)
--------------------------------------------------
keytool -genkey -v -keystore lender.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias (One time only)
<we have already jks file in releaseApk folder do not run this command >
command 2 SIGN THE APK
----------------------
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore pd-genie-officer.jks app-release-unsigned.apk my-alias
command 3 OPTIMIZE THE APK
--------------------------
zipalign -v 4 app-release-unsigned.apk pd_genie_officer.apk
command 4 VERIFY THE SIGNED APK
-------------------------------
apksigner verify pd_genie_officer.apk