您的位置:首页 > 编程语言 > Java开发

eclipse打包apk时提示the zipalign tool was not found in the sdk解决方法

2015-06-04 14:32 766 查看
导入的项目修改好打包发布的时候提示the zipalign tool was not found in the sdk,将build-tools升级到20就好了。

原文:

I fixed it by installing Android SDK Build-tools 20:

In Eclipse → Pull Down Menu → Window → Android
SDK Manager, check Android SDK Build-tools Rev. 20, then click the Install n package(s)… button
to start installing.

I had the same problem. And to fix it, I copy the Zipalign file from sdk/build-tools/android-4.4W folder to sdk/tools/

Edited: Since Google updated SDK for Android, new build-tools does fix this problem. So I encouraged everyone to update to Android SDK Build-tools 20 as
suggested by Pang in the post below.

参考:http://stackoverflow.com/questions/24442213/cannot-find-zip-align-when-publishing-app/24446579#24446579

如何更新到build-tools20点这里
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: