if doesn't support the "condition"attribute 问题解决
来源:互联网 发布:pokemongo辅助软件 编辑:程序博客网 时间:2024/05/21 22:27
因为要实现自动循环打包,而ant本身不支持foreach循环,需要引入第三方jar包,下载ant-contrib-1.0b3.jar之后把它放到ant所在目录的lib目录下,例如我的在F:\ apache-ant-1.9.4\lib,然后要进行关键的一步:右键点击该jar文件à选择“打开方式”àWinRAR压缩文件管理器,依次打开net/sf/antcontrib/antcontrib.properties,看到以下这一行:
file:///C:/Users/xinyuli/AppData/Local/Temp/msohtmlclip1/01/clip_image006.jpg
然后用#注释掉if=net.sf.antcontrib.logic.IfTask这一行,这是因为ant-contrib中的if语句会与Android-SDK自带的if语句冲突,导致报错if doesn't support the "condition"attribute,所以我们这里要注释掉ant-contrib中的if语句,只使用它的foreach语句。至此ant工具就已经全部配置完成。
转自:http://www.eoeandroid.com/thread-557178-1-1.html
0 0
- if doesn't support the "condition"attribute 问题解决
- if doesn't support the "condition"attribute 问题解决
- pathelement doesn't support the "localhost" attribute
- What if Eclipse doesn't show support methods automatically?
- The used table type doesn't support FULLTEXT indexes 错误
- PointToPointNetDevice doesn't support TapBridgeHelper
- If VNCView doesn't support copy/…
- mysql The used table type doesn’t support FULLTEXT indexes 解决方案
- TypeError: Type str doesn't support the buffer API的解决办法
- Mysql #1214 - The used table type doesn't support FULLTEXT index错误原因
- mySQL错误: The used table type doesn't support FULLTEXT indexes
- MySQL中The used table type doesn't support FULLTEXT indexes解决办法
- mysql The used table type doesn’t support FULLTEXT indexes 解决方案
- NDK support for project 'XXXX' is disabled because the project doesn't contain any valid native
- Doesn't WPF6.1 support jre1.5 ?
- universalimageloader uil doesn't support scheme(protocol
- 'range' object doesn't support item deletion
- why vue.js doesn't support templateURL
- 康复计划
- Hibernate关联之 一对一主键单向关联
- mysql高级语法- view视图操作
- MVC中动态绑定下拉菜单
- Andriod实现再按一次退出程序
- if doesn't support the "condition"attribute 问题解决
- java多线程编程--如何终止一个线程
- Eclipse+Maven创建webapp项目<二>
- AR系列芯片分区地址和常用刷机命令
- leetcode--Add Digits
- UTF-8编码字节含义-以及应用
- iOS 三级UIPickerView使用
- maven springmvc 生成二维码
- 在datepicker调出的自定义键盘上设置toolbar