Increase targetSdk to 30 and use apksigner to support signature scheme v2. This also adds 64-bit support for the APK.

This commit is contained in:
fireneat
2022-10-07 21:18:14 +02:00
parent e23f68f56a
commit 0b39769fc9
2 changed files with 8 additions and 9 deletions
+7 -8
View File
@@ -300,15 +300,15 @@ this by:
1. Creating a certificate, if you do not already have one:
$ keytool -genkey -keystore [YOUR_CERTIFICATE] -alias [ALIAS] -keyalg RSA -storetype PKCS12
2. Sign the package using your certificate:
$ jarsigner -sigalg MD5withRSA -digestalg SHA1 \
-keystore [YOUR_CERTIFICATE] \
android/build/outputs/apk/release/espeak-release-unsigned.apk [ALIAS]
3. Align the apk using the zipalign tool.
2. Align the apk using the zipalign tool.
$ zipalign 4 android/build/outputs/apk/release/espeak-release-unsigned.apk \
android/build/outputs/apk/release/espeak-release-signed.apk
android/build/outputs/apk/release/espeak-release-zipalign.apk
3. Sign the package using your certificate:
$ apksigner --ks [YOUR_CERTIFICATE] --ks-key-alias [ALIAS] \
--out android/build/outputs/apk/release/espeak-release-signed.apk \
android/build/outputs/apk/release/espeak-release-zipalign.apk
### Opening project in Android Studio
@@ -333,4 +333,3 @@ To enable eSpeak, you need to:
1. go into the Android `Text-to-Speech settings` UI;
2. select `eSpeak TTS` as the default engine;
3. use the `Listen to an example` option to check if everything is working.