mac下输出apk时的关于zipalign错误的解决方法

mac下开发android应用时,在eclipse里导出app的时候有时会出现zipalign有关的错误提示:error while running zipalignunable to open xx/xx/xx/xxx/xxx.apk as zip archive...。经过测试发现是因为编码不符造成的,只要在eclipseini文件里(eclipse.ini)加入

-Dfile.encoding=utf-8 就可以解决。


你可能感兴趣的:(mac下输出apk时的关于zipalign错误的解决方法)