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
[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
相关文章推荐
- Could not load definitions from resource net/sf/antcontrib/antcontrib.properties.
- ionic2打包生成APK报错 Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Looked here: D:\Android\SDK\tools\templates\gradle\wrapper
- ireport $P{SUBREPORT_DIR}参数的使用 解决:Could not load object from location 不能加载子报表问题
- 运行ant脚本进行打包无法创建路径(and the archive is probably corrupt but I could not delete it)解决办法
- 04-mac中的web环境搭建tomcat7不能进行配置Could not load the Tomcat server configuration
- eclipse中用Hibernate进行一对多级联报错 Could not parse mapping document from resource oneToMore/Grade.hbm.xml
- 学习hibernate遇到问题之Could not parse mapping document from resource
- 搬家、备份后启动Android PANIC :Could not open D:\java2\android\android-sdk-windows\.android\avdtest.ini问题的解决
- Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Looked here: C:\Users\Administrator\AppData\Local\Android\sdk\tools\templates\gradle\wrapper
- Could not download artifact 'com.android.tools.build:gradle:0.13.0:gradle.jar'插件无法下载问题
- maven项目,多个依赖,打成一个可执行jar包,可根据profiles进行打包,出现的Could not find or load main class的解决方法。
- 解决InvalidMappingException: Could not parse mapping document from resource问题的办法。
- Spring.net Could not load type from string value问题解决办法
- Android studio 升级3.0后ReactNative 打包报错 Could not find com.android.tools.build:gradle:3.0.0.
- android could not find sdk /tools/adb 解决方法
- Could not find C:\sdk\android-2.1_r01-windows(android SDK)\tools\adb.exe!
- 【已解决】Eclipse for Android 出现Could not find SDK folder....问题解决
- Android中使用友盟时用Ant进行多渠道打包及相关问题
- 链接本地数据库正确,别的就报错。A ResourcePool could not acquire a resource from its primary factory or sour 蛋疼的问题
- 处理应用端连接redis报could not get a resource from the pool问题