Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目无法直接运行,commonlibray报错DaoSession等找不到 #11

Open
fanpeihua opened this issue Jan 18, 2019 · 2 comments
Open

Comments

@fanpeihua
Copy link

如题。

@HelloChenJinJun
Copy link
Owner

如题。
这是greendao,需要在commonlibrary模块里面make project

@rayworks
Copy link

rayworks commented Jun 25, 2019

碰到了相同的问题,'Sync project with gradle files' 可以通过编译,但是运行时报错:

/NewFastFrame/commonlibrary/src/main/java/com/example/commonlibrary/dagger/module/GlobalConfigModule.java:45: error: dagger.internal.codegen.ComponentProcessor was unable to process this class because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code.
public class GlobalConfigModule {}

看上去是出现了 循环引用的问题: common <-> chat 模块

找到问题了,应该是引用了错误的class。我稍后会发一个PR出来。

rayworks added a commit to rayworks/NewFastFrame that referenced this issue Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants