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

DaggerAppComponent Not able to build #73

Open
JayGreenApex opened this issue May 29, 2020 · 4 comments
Open

DaggerAppComponent Not able to build #73

JayGreenApex opened this issue May 29, 2020 · 4 comments

Comments

@JayGreenApex
Copy link

JayGreenApex commented May 29, 2020

@amitshekhariitbhu

I am having Android app with MVVM architecture.

I need to have use RoomDatabase and i came to your repo and taken reference of it.

Setup everything as of your demo for Room Database and tried to build my Project.

But suddenly DaggerAppComponent no more able to build now. I crossed check everything same as of your demo and required setup is done.

Can you help me please.

error: cannot find symbol import com.iam.app.di.component.DaggerAppComponent;

@amitshekhariitbhu
Copy link
Contributor

@JayGreenApex Have you rebuild the project?
Also refer to this: janishar/android-mvp-architecture#1

@JayGreenApex
Copy link
Author

JayGreenApex commented May 29, 2020

@amitshekhariitbhu

I have cleaned and rebuild project lots of time but no luck.

@JayGreenApex
Copy link
Author

JayGreenApex commented May 29, 2020

@amitshekhariitbhu

I am getting something like this.

Gradle may disable incremental compilation as the following annotation processors are not incremental: dagger-compiler-2.16.jar (com.google.dagger:dagger-compiler:2.16), dagger-android-processor-2.16.jar (com.google.dagger:dagger-android-processor:2.16). Consider setting the experimental feature flag android.enableSeparateAnnotationProcessing=true in the gradle.properties file to run annotation processing in a separate task and make compilation incremental. /home/pc-30/Jay/ContactInventoryApp/app/src/main/java/com/iam/app/app/ContactInventoryApp.java:9: error: cannot find symbol import com.iam.app.di.component.DaggerAppComponent;

@JayGreenApex
Copy link
Author

@amitshekhariitbhu

If i remove Room Database Setup then it us getting build successfully otherwise not. Can you help me please.

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