I was getting the same error message. Drove me crazy until i found that my destination path was invalid.
Zipalign will give you that error even if the apk is perfectly valid, but the destination directory is invalid.
android 打包的时候 提示:
//-----------没有权限访问目标文件夹-------------
发现我的APK 输出 文件夹是 中文命名的。。。 重新选择一个 英文命的 路径 就OK 了。
http://stackoverflow.com/questions/4581770/error-while-running-zipalign
I was getting the same error message. Drove me crazy until i found that my destination path was invalid.
Zipalign will give you that error even if the apk is perfectly valid, but the destination directory is invalid.