GreenDao freemaker.jar is missing

↘锁芯ラ 提交于 2019-12-04 03:09:30

I had a similar problem and downloaded the jar from http://mvnrepository.com/artifact/org.freemarker/freemarker which worked out well.

When you take a look at build.gradle in the DaoGenerator-project, you'll find a dependency that points exactly to this artifact. I guess using gradle to build your project automatically downloads these dependencies just like maven does. If you do not wish to use either, it's probably fine to download and include the artifacts manually.

I had the same error but i was trying to compile the greendao-generator at my main project, but you must create a java module for greenDao then it will not ask for the freemarker.

use greendao-generator inside the java module and greendao inside main project

you may follow this tutorial GreenDao and Android Studio tutorial

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!