简体   繁体   English

重置ant build.xml以运行android测试项目

[英]reset ant build.xml for run android test project

i think i've edited something wrong in the ant build.xml that is imported during the steps in this site 我认为我在此网站的步骤中导入的ant build.xml中编辑了一些错误

and when i try to 当我尝试

ant clean debug 

the task goes wrong. 任务出错。 i'd like to know if is possible re-generate the build.xml contained into the eclipse adt boundle ant folder. 我想知道是否可以重新生成包含在eclipse adt boundle ant文件夹中的build.xml。 Thank's 谢谢

Go to your project path and run this command: 转到您的项目路径并运行以下命令:

android update project --path . android更新项目--path。

That's it.. 而已..

download the latest sdk tools from " http://developer.android.com/sdk/index.html " SDK Tools Only 从“ http://developer.android.com/sdk/index.html ”仅SDK工具下载最新的sdk工具

ant-tasks.jar define the ant getbuildtools command,Your current version does not support verbose attribute, You can decompile ant-tasks.jar to see. ant-tasks.jar定义了ant getbuildtools命令,您当前的版本不支持verbose属性,您可以反编译ant-tasks.jar来查看。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM