AddSecurityExceptionAndroid icon indicating copy to clipboard operation
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

Open Siin0pe opened this issue 3 years ago • 4 comments

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

Siin0pe avatar Dec 18 '22 20:12 Siin0pe

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]}

lanceliao avatar Dec 21 '22 09:12 lanceliao

I'll add an option to locate zipalign or tools build-tools dir

levyitay avatar Dec 22 '22 02:12 levyitay

cool thank you!, because i installed it on the codespace but idk if in the right path ;)

Siin0pe avatar Dec 22 '22 17:12 Siin0pe

@MOIJESUIS2ENMOI @lanceliao See latest update let me know if it helps

levyitay avatar Dec 25 '22 20:12 levyitay