android greenDao使用

时间:2018-08-18 22:58:03   收藏:0   阅读:189

github:https://github.com/greenrobot/greenDAO

先在依赖加上

compile ‘org.greenrobot:greendao-generator:3.2.2‘
compile ‘org.greenrobot:greendao:3.2.2‘

再加上插件
classpath ‘org.greenrobot:greendao-gradle-plugin:3.2.1‘

在需要生成相应greendao加上
apply plugin: ‘org.greenrobot.greendao

原文:https://www.cnblogs.com/zquan/p/9499023.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!