Changes between Version 5 and Version 6 of DeveloperGuidelines/EdenMobile/ProductionRelease
- Timestamp:
- 02/01/20 11:40:19 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/EdenMobile/ProductionRelease
v5 v6 18 18 cordova build --release android 19 19 }}} 20 - File available as: {{{platforms/android/app/build/outputs/apk/release/a ndroid-release-unsigned.apk}}}20 - File available as: {{{platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk}}} 21 21 - Sign the app: 22 22 * https://developer.android.com/studio/publish/app-signing.html … … 27 27 keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias 28 28 # Optimise (zipalign comes with Android SDK build-tools, so may need to ensure it's in your PATH, e.g. %USERPROFILE%\AppData\local\android\sdk\build-tools\29.0.3) 29 zipalign -v -p 4 a ndroid-release-unsigned.apk android-release-unsigned-aligned.apk29 zipalign -v -p 4 app-release-unsigned.apk app-release-unsigned-aligned.apk 30 30 # Sign (apksigner comes with Android SDK build-tools too) 31 apksigner sign --ks my-release-key.jks --out a ndroid-release.apk android-release-unsigned-aligned.apk31 apksigner sign --ks my-release-key.jks --out app-release.apk app-release-unsigned-aligned.apk 32 32 }}}