Trying to submit my android apk to the Google Play Store for beta deployment
https://play.google.com/apps/publish/
upon attempting to upload my apk file the browser says
You uploaded an APK that is not zip aligned. You will need to run a zip align tool on your APK and upload it again.
I have previously signed and aligned my apk …the app executes just fine !!!
keytool -genkey -noprompt -v -dname "${dname_details}" -keyalg RSA -keysize 2048 -validity 10000 -alias $app_nickname -storepass ${cool_pwd} -keypass ${cool_pwd} -keystore $signing_key
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -storepass ${cool_pwd} -keypass ${cool_pwd} -keystore $signing_key $unaligned_signed_apk $app_nickname
zipalign -v -p 4 $unaligned_signed_apk $aligned_signed_apk
I found mention of below as a way to auto sign + align during the meteor build step
Since the meteor build step auto creates dir xxx/android/yyy
how do I enable below file : android/release-signing.properties ?
Related are people using a build.json file ? I am not … suggestions ?
Create a file called platforms/android/release-signing.properties, and put this in it:
storeFile=/path/to/your-keystore.keystore
storeType=jks
keyAlias=some-key
// if you don't want to enter the password at every build, use this:
keyPassword=your-key-password
storePassword=your-store-password