1. 程式人生 > >android SDK Tools跟新後不能用ant進行打包問題,Could not load definitions from resource anttasks.properties. It co

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.
這裡寫圖片描述