mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Few PATH fixes to run against SDK21
This commit is contained in:
parent
a72ad1d1d2
commit
7aeb3627ff
@ -17,11 +17,11 @@ function die {
|
||||
exit 1
|
||||
}
|
||||
|
||||
../src/dependencies/android-sdk/tools/android update project -p . -n Kiwix -t android-14
|
||||
../src/dependencies/android-sdk/tools/android update project -p . -n Kiwix -t android-21
|
||||
|
||||
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore $CERTIFICATE build/apk/android-release-unsigned.apk kiwix || die "Error signing the package."
|
||||
jarsigner -verify build/apk/android-release-unsigned.apk || die "The package is not properly signed."
|
||||
../src/dependencies/android-sdk/tools/zipalign -f -v 4 build/apk/android-release-unsigned.apk kiwix-android.apk || die "Could not zipalign the signed package. Please check."
|
||||
../src/dependencies/android-sdk/build-tools/21.1.2/zipalign -f -v 4 build/apk/android-release-unsigned.apk kiwix-android.apk || die "Could not zipalign the signed package. Please check."
|
||||
|
||||
echo "[SUCCESS] Your signed release package is ready:"
|
||||
ls -lh kiwix-android.apk
|
||||
|
Loading…
x
Reference in New Issue
Block a user