uiautomator有什么区别从Eclipse Export和ANT build运行JAR?

时间:2015-02-02 03:03:28

标签: ant jar uiautomator android-uiautomator

作为标题,如果我用uiautomator运行它,那么从Eclipse Export函数和ANT构建创建的JAR有什么不同吗? 参考Android UI Testing,我尝试使用ANT构建JAR,但遇到some problem并无法修复它。因此,我尝试使用Eclipse Export函数创建JAR并使用Uiautomator运行它。但是,我得到了another problem。我一直在谷歌上搜索并克服这个错误,以便我可以测试我的东西。任何人都能解释一下吗?

1 个答案:

答案 0 :(得分:0)

我设法通过向项目添加AndroidManifest.xml来解决我的问题,然后我可以使用ANT构建JAR。 JAR与uiautomator完美匹配