robotium: an error

上一篇 / 下一篇  2014-07-10 17:00:10 / 个人分类:robotium

java.lang.IllegalArgumentException: dexcache == null (and no default could be found; consider setting the 'dexmaker.dexcache' system property)

解决方法:

test casesetup方法中加入

System.setProperty("dexmaker.dexcache",getInstrumentation().getTargetContext().getCacheDir().getPath() );




TAG:

 

评分:0

我来说两句

Open Toolbar