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

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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值