使用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"
右击被测试工程,选择Build Path,在Order and Export,将gen和src对换位置,再用eclipse导出ant的build.xml文件就行了。
不然直接ant的话可能就会报错:Basedir E:\surfnews\surf_Robotium\${ExampleProject.location} does not exist
原文链接:https://www.f2er.com/xml/300549.html