greendao使用步骤:
按照官方https://github.com/greenrobot/greenDAO,一步步配置。
然后创建一个实体类,运行之后会自动生成代码
中间遇到找不到
Could not find class’org.greenrobot.greendao.database.DatabaseOpenHelper$En
添加compile 'net.zetetic:android-database-sqlcipher:3.5.4@aar'
就可以了
greendao入门
最新推荐文章于 2020-06-03 15:04:32 发布