robotium测试工程导出build.xml文件

         使用eclipse导出ant编译所需要的build.xml文件报错了

弹框提示:"The build class path order of the source directories of project library is not correct. Exported Ant buildfile will not compile your sources correctly until you swap the order of these directories:gen<->src"

解决:如提示所说,将被测工程的gen与src对换位置

右击被测试工程,选择Build Path,在Order and Export,将gen和src对换位置,再用eclipse导出ant的build.xml文件就行了。

不然直接ant的话可能就会报错:Basedir E:\surfnews\surf_Robotium\${ExampleProject.location} does not exist

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值