robotium测试工程导出build.xml文件
发布时间:2020-12-15 23:49:50 所属栏目:百科 来源:网络整理
导读:使用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
使用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:surfnewssurf_Robotium${ExampleProject.location} does not exist (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |