当我在我的项目中添加 greenDao 库时,我的项目无法运行,因为我有 Junit 测试。
testCompile 'junit:junit:4.12'
编译('de.greenrobot:DaoGenerator:1.3.0')
有什么想法吗?
最佳答案
我解决我的问题,我改变这个
compile ('de.greenrobot:DaoGenerator:1.3.0')
到
compile('de.greenrobot:greendao:1.3.7')
关于android - 与 greenDAO 不兼容的 JUnit 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31188910/