Few PATH fixes to run against SDK21

This commit is contained in:
Emmanuel Engelhart 2015-01-21 12:14:42 +01:00
parent a72ad1d1d2
commit 7aeb3627ff

View File

@ -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