您的位置:首页 > 移动开发 > Android开发

android SDK Tools跟新后不能用ant进行打包问题,Could not load definitions from resource anttasks.properties. It co

2017-05-24 14:30 1531 查看
2017年05月份,发现我跟新android SDK Tools 为最新版后不能进行ant打包了,之前都是可以的,打包的时候报的错误是:

[taskdef] Could not load definitions from resource anttasks.properties. It could not be found.

[taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.

-set-mode-check:

-set-debug-files:

-check-env:

BUILD FAILED

C:\Users\Donkfather\Desktop\adt-bundle-windows-x86_64-20130522\sdk\tools\ant\build.xml:392: Problem: failed to create task or type checkenv

Cause: The name is undefined.

Action: Check the spelling.

Action: Check that any custom tasks/types have been declared.

Action: Check that any / declarations have taken place.



解决方法找了半天没找到对应方法,最后实在只好回到之前版本的Android SDK Tools,我这里作个记录,上传到了有道云笔记,下载地址为:http://note.youdao.com/noteshare?id=e2ee0c3ed0f657b45ca63a29b022bdfa&sub=9ADA30E7FBE54D82956FE665D44764BF
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android ant sdk
相关文章推荐