Fix build tools path.

This commit is contained in:
Jean-Philip Desjardins 2017-11-17 07:21:24 -05:00
parent f9d1ed62bb
commit 07cbc86bcc

View File

@ -94,7 +94,7 @@ travis_before_deploy()
fi;
if [ "$TARGET_OS" = "Android" ]; then
cp ../../build_android/build/outputs/apk/release/Play-release-unsigned.apk .
export ANDROID_BUILD_TOOLS=$ANDROID_HOME/build-tools/25.0.0
export ANDROID_BUILD_TOOLS=$ANDROID_HOME/build-tools/26.0.2
$ANDROID_BUILD_TOOLS/zipalign -v -p 4 Play-release-unsigned.apk Play-release.apk
$ANDROID_BUILD_TOOLS/apksigner sign --ks ../../installer_android/deploy.keystore --ks-key-alias deploy --ks-pass env:ANDROID_KEYSTORE_PASS --key-pass env:ANDROID_KEYSTORE_PASS Play-release.apk
fi;