title: greenDAO: ftl-templates not found
body: <p>I'm using the greenDAO for Android and I want to edit the greenDAO generator, because it overwrites @SerializedName which I need for GSON every time I change something on my database.</p>
  
  <p>So I was adding greenDAO from <a href="https://github.com/greenrobot/greenDAO" rel="nofollow noreferrer">https://github.com/greenrobot/greenDAO</a> to my Android Studio project by File -> New -> Import Module... and just selected the GreenDaoGenerator-module.</p>
  
  <p>Next, I build my java module to generate the greenDAO database, which uses the GreenDaoGenerator-module as dependency and I get an exception that the template dao.ftl was not found.</p>
  
  <p>Can someone please help me? I'm new to Android and do not check, why it doesn't find the file.</p>
  
  <pre><code>Exception in thread "main" java.io.FileNotFoundException: Template "dao.ftl" not found.
  at freemarker.template.Configuration.getTemplate(Configuration.java:742)
  at freemarker.template.Configuration.getTemplate(Configuration.java:665)
  at de.greenrobot.daogenerator.DaoGenerator.&lt;init&gt;(DaoGenerator.java:65)
  at com.example.GreenDaoCreater.main(GreenDaoCreater.java:39)
  </code></pre>
  
  <p>Edit:
  Here is a screenshot from the project structure. I hope it helps.</p>
  
  <p><img src="https://i.stack.imgur.com/f3EZG.png" alt="enter image description here"></p>