Could not load definitions from resource anttasks.properties. It could not be found.
Could not load definitions from resource emma_ant.properties.It could not be found.
Problem: **failed to create task or type checkenv**Cause: The name is undefined.
如果cmd打印出与上面相似的错误,错误根源是android SDK的路径没有对
修改办法:打开local.properties这个文件,修改里面最后一行为sdk.dir=D:\\android\\sdk\\sdk(格式是这样的,具体情况看你的SDK路径在哪里)
如果帮助了你,不用谢,哈哈哈