简体   繁体   中英

Where is my new apk after using ./addSecurityExceptions.sh?

I used ./addSecurityExceptions.sh on a test.apk It seems to go well but after the end of the process: (...) jar signed. Warning: The signer's certificate is self-signed. ./addSecurityExceptions.sh: line 52: zipalign: command not found Resigned APK successfully test_new.apk

I don't find test_new.apk in the file, neither in my whole computer :o

Did someone has this case already? Thanks a lot for your help

It is needed to add the paths to the directories with the executable files zipalign.exe and jarsigner.exe to the Path environment variable.

  • C:\Users\ @youruser\AppData\Local\Android\Sdk\build-tools\30.0.2

  • C:\Program Files\Java\jdk1.8.0_251\bin

enter image description here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM