打包时总是报以下错误,需要反复打好几次才能在本地生成成功。
官方给的解释是首次打包时可能会报以上错误,要重新打包。但我这
是经常报。不知道什么原因,能不能修复这个问题。
[Info] begin update files to apk...
[Info] I: Using Apktool 2.4.1
[Info] I: Copying C:\Users\Administrator\AppData\Local\HBuilder X\__UNI__5705790\packge_cache\__NONE__\__UNI__5705790_cm classes.dex file...
[Info] I: Copying C:\Users\Administrator\AppData\Local\HBuilder X\__UNI__5705790\packge_cache\__NONE__\__UNI__5705790_cm classes2.dex file...
[Info] I: Checking whether resources has changed...
[Info] I: Building resources...
[Error] W: fakeLogOpen(/dev/log_crash) failed
[Error] W: fakeLogOpen(/dev/log_stats) failed
[Error] W: fakeLogOpen(/dev/log_stats) failed
[Info] I: Copying libs... (/lib)
[Info] I: Building apk file...
[Info] I: Copying unknown files/dir...
[Info] I: Built apk...
[Error] Apk tool compile package to apk failed
[Error] 制作结果:Failed. Reason:
0 个回复