关于android studio升级到3+的问题总结

1.依赖问题:在3.0以上后gradle依赖也有一定的变化,在这我列出几个常用的

//    compile =》implementation
//    androidTestCompile =》androidTestImplementation
//    testCompile => testImplementation , apt=>annotationProcessor

2.如果你在项目里面有用到dbflow这种类似的数据库框架,你运行的时候可能会报错,解决办法如下:

    1.在项目下的gradle中apt删除或注释掉

     2.在module下的gralde把apt=>annotationProcessor,compile =》implementation,并且在最上面有关dbflow的只留

def dbflow_version = "3.0.0-beta4"这个

  

    

猜你喜欢

转载自blog.csdn.net/ZyClient/article/details/81667606