AddSecurityExceptionAndroid
AddSecurityExceptionAndroid copied to clipboard
Running Zip Align on network.xyo.coin_temp.apk and creating network.xyo.coin_new.apk ./addSecurityExceptions.sh: line 88: /home/codespace/Library/Android/sdk/build-tools/*//zipalign: No such file or directory Signing temp file network.xyo.coin_new.apk ./addSecurityExceptions.sh: line 91: /home/codespace/Library/Android/sdk/build-tools/*//apksigner: No such file or directory Resigned APK successfully network.xyo.coin_new.apk
Hey! I get this error on a codespace, maybe if someone can help me ;)
Running Zip Align on network.xyo.coin_temp.apk and creating network.xyo.coin_new.apk
./addSecurityExceptions.sh: line 88: /home/codespace/Library/Android/sdk/build-tools/*//zipalign: No such file or directory
Signing temp file network.xyo.coin_new.apk
./addSecurityExceptions.sh: line 91: /home/codespace/Library/Android/sdk/build-tools/*//apksigner: No such file or directory
Resigned APK successfully network.xyo.coin_new.apk
On my case the build tools was not located on home directory:
➜ ~ which apksigner
/usr/bin/apksigner
➜ ~ which zipalign
/usr/bin/zipalign
It works after changing the directory to /usr/bin :
BUILD_TOOLS_DIR=/usr/bin
# ${arr_storted[${#arr_storted[@]}-1]}
I'll add an option to locate zipalign or tools build-tools dir
cool thank you!, because i installed it on the codespace but idk if in the right path ;)
@MOIJESUIS2ENMOI @lanceliao See latest update let me know if it helps