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

关于渠道包打不出来问题 #20

Open
pengguanming opened this issue May 21, 2018 · 0 comments
Open

关于渠道包打不出来问题 #20

pengguanming opened this issue May 21, 2018 · 0 comments

Comments

@pengguanming
Copy link

pengguanmingdeMacBook-Pro:ProtectedApkResignerForWalle pengguanming$ python ApkResigner.py
Unable to open '/Users/pengguanming/guard_apk/ProtectedApkResignerForWalle//Users/pengguanming/guard_apk/ProtectedApkResignerForWalle/app-release.encrypted.apk' as zip archive
Unexpected parameter(s) after input APK (--ks-key-alias)
/Users/pengguanming/Library/Android/sdk/build-tools/26.0.2/apksigner sign --ks /Users/pengguanming/Downloads/bugly_crash_upgrade-1.3.4 2/demo/BuglyHotfixEasyDemo/app/keystore/release.keystore --ks-key-alias testres --ks-pass pass:testres --key-pass pass:testres --out /Users/pengguanming/guard_apk/ProtectedApkResignerForWalle//Users/pengguanming/guard_apk/ProtectedApkResignerForWalle/app-release.encrypted_aligned_signed.apk /Users/pengguanming/guard_apk/ProtectedApkResignerForWalle//Users/pengguanming/guard_apk/ProtectedApkResignerForWalle/app-release.encrypted_aligned.apk
{"ret":-1,"msg":"get signature failed, File:/Users/pengguanming/guard_apk/ProtectedApkResignerForWalle//Users/pengguanming/guard_apk/ProtectedApkResignerForWalle/app-release.encrypted_aligned_signed.apk Not Found"}
java.io.FileNotFoundException: Source '/Users/pengguanming/guard_apk/ProtectedApkResignerForWalle/Users/pengguanming/guard_apk/ProtectedApkResignerForWalle/app-release.encrypted_aligned_signed.apk' does not exist


上面使用zipalign工具报Unable to open 'xxx.apk' as zip archive 的问题,可以参考楼主引用的文章:https://blog.csdn.net/jason_2016/article/details/58137497

具体解决方法:https://blog.csdn.net/qq_35196068/article/details/52881562

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

1 participant