Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在没有eclipse的情况下编译GreenDao示例和DaoExampleGenerator?
您可以使用 Android Studio 来执行此操作。
Gradle 已集成并下载依赖库。
请注意 Android Studio 中的路径(使用包含所有模块的主项目路径(Android Studio 中的一个模块是 Eclipse 中的一个项目)。
它对我有用。
运行按钮上的下拉菜单单击编辑配置,然后单击 + 按钮并添加新应用程序和配置:检查下图,然后单击应用并确定。
接下来您需要做的是在下拉列表中,选择您的 daogenerator 然后运行将编译 dao 类的应用程序
然后它应该看起来像上面并单击运行。它应该有效!
祝你好运!!