You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I am messing around with my Modules and Components, I sometimes need a Dagger annotation processor error message to figure out what is going on. The problem is, whenever I compile with an incorrect Dagger setup I get error messages unrelated to the root cause. The error messages given in Android Studio are just missing symbol errors because the annotation processing failed.
Compiler error messages:
error: cannot find symbol class DaggerApplicationComponent
{redacted}/app/src/main/java/{redacted}/ProfileSettingsFragment.java
Error:(7, 50) error: package {redacted}.databinding does not exist
Error:(16, 9) error: cannot find symbol class FragmentProfileSettingsBinding
This databinding symbol error is then repeated about 100 times, and the actual problem that made the annotation processing fail is nowhere to be found.
What is eating the Dagger errors? Are they being fed to Android Studio properly?
The text was updated successfully, but these errors were encountered:
Dagger2 v2.5
android-apt v1.8
Whenever I am messing around with my Modules and Components, I sometimes need a Dagger annotation processor error message to figure out what is going on. The problem is, whenever I compile with an incorrect Dagger setup I get error messages unrelated to the root cause. The error messages given in Android Studio are just missing symbol errors because the annotation processing failed.
Compiler error messages:
This databinding symbol error is then repeated about 100 times, and the actual problem that made the annotation processing fail is nowhere to be found.
What is eating the Dagger errors? Are they being fed to Android Studio properly?
The text was updated successfully, but these errors were encountered: