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

错误: [dagger.android.AndroidInjector.inject(T)] Found a dependency cycle #10

Open
MrFuShuai opened this issue Oct 15, 2019 · 2 comments

Comments

@MrFuShuai
Copy link

Error:(28, 10) 错误: [dagger.android.AndroidInjector.inject(T)] Found a dependency cycle:
com.ppdy.wanandroid.mvp.presenter.main.HomePageFirstTabContract.Presenter is injected at
com.ppdy.wanandroid.dagger.module.HomeFirstTabFragmentModule.bindPresenter(presenter)
com.ppdy.wanandroid.mvp.presenter.main.HomePageFirstTabContract.Presenter is injected at
com.ppdy.wanandroid.base.fragment.BaseFragment.mPresenter
com.ppdy.wanandroid.mvp.view.main.fragment.HomeFirstTabFragment is injected at
dagger.android.AndroidInjector.inject(arg0)
请问能帮忙看看该如何解决么?

@maoqitian
Copy link
Owner

你好,这是在什么情况下出现的?

@MrFuShuai
Copy link
Author

不好意思,这个问题,是由于我的失误造成的,目前已经解决,谢谢

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

2 participants