Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #38

Open
moijesuis2enmoi opened this issue Dec 18, 2022 · 4 comments

Comments

@moijesuis2enmoi
Copy link

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
@lanceliao
Copy link

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

@levyitay
Copy link
Owner

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

@moijesuis2enmoi
Copy link
Author

moijesuis2enmoi commented Dec 22, 2022

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

@levyitay
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants