robert_hly

踩坑填坑记录...

导航

greendao 3.1.0在android studio中配置

1 项目根build.gradle

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

 

2 app中build.gradle

  apply plugin:'org.greenrobot.greendao'

  dependencies{

  compile 'org.greenrobot:greedao:3.1.0'

  }

3 配置生成目录

  greendao{

  targetGenDir 'src/main/java'

  }

 

posted on 2016-12-28 08:56  robert_hly  阅读(187)  评论(0编辑  收藏  举报