Open balakzde opened 6 years ago
Hello Zdeněk, The project should be buildable. Did you try construction the project from the terminal?
/.gradlew clean build
On Thu, Oct 19, 2017 at 3:38 PM, Zdeněk Balák notifications@github.com wrote:
Hi, I am pretty new to android and I wanted to include dependecy injection in our projects, so I ended up trying dagger. My problem is I am not able to run any tutorials I found online. This one looks simple enough, but I was not able to build it. I keep getting Unresolved reference: DaggerAppComponent even though I did not change a single line of code. How do I force dagger to generate classes like it is supposed to do?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/marcoRS/volley-examples/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAe-dps5DUDrLkdTNYLnCHJfxWVD6xk6ks5stxiogaJpZM4P-9Rz .
$ ./gradlew clean build
Configure project :app The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead. The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead. The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
Task :app:compileDebugKotlin Using kotlin incremental compilation
e: C:\Users\balak\AndroidStudioProjects\volley-examples\app\src\main\java\com\droidtitan\volley\App.kt: (6, 33): Unresolved reference: DaggerAppComponent e: C:\Users\balak\AndroidStudioProjects\volley-examples\app\src\main\java\com\droidtitan\volley\App.kt: (15, 17): Unresolved reference: DaggerAppComponent
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:compileDebugKotlin'.
Compilation error. See log for more details
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED in 20s 25 actionable tasks: 25 executed
Hi, I am pretty new to android and I wanted to include dependecy injection in our projects, so I ended up trying dagger. My problem is I am not able to run any tutorials I found online. This one looks simple enough, but I was not able to build it. I keep getting Unresolved reference: DaggerAppComponent even though I did not change a single line of code. How do I force dagger to generate classes like it is supposed to do?