android studio异常Error:A problem was found with the configuration of task ':app:zipalignDebug'.
2016-04-27 17:39
417 查看
我的IDE工具是android studio,今天运行项目好好的突然给我出了这个异常:
Error:A problem was found with the configuration of task ':app:zipalignDebug'.
> File 'D:\AndroidStudio\sdk\build-tools\23.0.3\zipalign.exe' specified for property 'zipAlignExe' does not exist.
刚开始我以为是sdk又更新了,我还专门更新了一下sdk,然后重新运行还是没有什么卵用。看到这个异常,我们很容易知道是zipalign.exe不存在。然后我网上搜了一下,好吧都是英文的,我硬着头皮看完了,不过大致看明白了。解决办法是可以到自己的sdk目录下的build-tools下的其它文件夹下复制一个zipalign.exe到23.0.3下,不过我建议最好是在别人的环境下找到23.0.3下的zipalign.exe复制一份过来,以免产生其它的问题。
问题虽然解决了,但是我还是比较关心为什么会出这个问题,之前明明好好的 ,到底是什么鬼~ 各位看官,知道的告诉我一下~
Error:A problem was found with the configuration of task ':app:zipalignDebug'.
> File 'D:\AndroidStudio\sdk\build-tools\23.0.3\zipalign.exe' specified for property 'zipAlignExe' does not exist.
刚开始我以为是sdk又更新了,我还专门更新了一下sdk,然后重新运行还是没有什么卵用。看到这个异常,我们很容易知道是zipalign.exe不存在。然后我网上搜了一下,好吧都是英文的,我硬着头皮看完了,不过大致看明白了。解决办法是可以到自己的sdk目录下的build-tools下的其它文件夹下复制一个zipalign.exe到23.0.3下,不过我建议最好是在别人的环境下找到23.0.3下的zipalign.exe复制一份过来,以免产生其它的问题。
问题虽然解决了,但是我还是比较关心为什么会出这个问题,之前明明好好的 ,到底是什么鬼~ 各位看官,知道的告诉我一下~
相关文章推荐
- 使用C++实现JNI接口需要注意的事项
- Android IPC进程间通讯机制
- Android Manifest 用法
- [转载]Activity中ConfigChanges属性的用法
- Android之获取手机上的图片和视频缩略图thumbnails
- Android之使用Http协议实现文件上传功能
- Android学习笔记(二九):嵌入浏览器
- android string.xml文件中的整型和string型代替
- i-jetty环境搭配与编译
- android之定时器AlarmManager
- android wifi 无线调试
- Android Native 绘图方法
- Android java 与 javascript互访(相互调用)的方法例子
- android 代码实现控件之间的间距
- android FragmentPagerAdapter的“标准”配置
- Android"解决"onTouch和onClick的冲突问题
- android:installLocation简析
- android searchView的关闭事件
- SourceProvider.getJniDirectories