**问题1、Generator fails to run NoClassDefFoundError: org/greenrobot/greendao/generator/Schema
参考:https://github.com/greenrobot/greenDAO/issues/619#issuecomment-291058096
**问题2、 Android java.exe finished with non-zero exit value 1
参考:https://github.com/greenrobot/greenDAO/issues/755
对图1下面圈出的错误,在gradle中加上在执行Run,出现图2的错误
这个问题我这里的解决方法是将图3中原来的generatePath=“app/src/main/java”,改为generatePath=“../app/src/main/java” 在执行就ok了