Enable Annotation Processing For Existing Projects Android Studio 3.3
I am using Android studio 3.3 and trying to use Dagger2 in my project. However, the annotation processing does not work in it and the annotation classes are not generated. I am ad
Solution 1:
the real solution is: 1 - create a compiler.xml in .idea/ folder and write that code in it.
<?xml version="1.0" encoding="UTF-8"?><projectversion="4"><componentname="CompilerConfiguration"><annotationProcessing><profiledefault="true"name="Default"enabled="true" /></annotationProcessing></component></project>
2- invalidate and restart
Post a Comment for "Enable Annotation Processing For Existing Projects Android Studio 3.3"