Android Studio 3.6.3 升级到4.0的坑

1.greenDao配置改一下

classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'


//操作数据库

    api 'org.greenrobot:greendao:3.3.0'

    api 'org.greenrobot:greendao-generator:3.3.0'

    api 'io.github.yuweiguocn:GreenDaoUpgradeHelper:v2.2.1'

完美解决