如题,在使用腾讯乐固进行加固(MAC版本)的过程中,报如下错误:
Cannot run program "/Applications/legutools.app/Contents/PlugIns/JRE/Contents/Home/jre/bin/zipalign": error=86, Bad CPU type in executable
大概意思就是执行 zipalign 的时候报错了。。
下面是解决办法: 拷贝/Users/yourname/android-sdk-macosx/build-tools/28.0.2/zipalign到legu应用目录,替换掉 /Applications/legutools.app/Contents/PlugIns/JRE/Contents/Home/jre/bin/zipalign
也就是说腾讯乐固中的 zipalign 有问题或者是版本太旧了,我们用自己 SDK 里面较新的版本的就好了。
参考链接:
https://cloud.tencent.com/developer/ask/228799
https://cloud.tencent.com/developer/ask/228885
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有