cmelchior / realmfieldnameshelper

Realm extension library used to create more type-safe queries.
Apache License 2.0
173 stars 21 forks source link

Android Studio can't "find" generated sources (red text), but compiles/builds fine #37

Open erawhctim opened 5 years ago

erawhctim commented 5 years ago

Not sure if this is related to my own project setup or the library, but it seems like building/compiling works fine, *Fields classes get generated properly and my code can reference them, but Android Studio can't seem to find the generated sources and every reference to one of the *Fields classes is red.

It looks like this library is generating the source files in the same location as other kapt-generating libraries (Dagger, for instance), and those references are easily found by Android Studio. Not sure where the disconnect is here, if anyone has ideas I'd love to hear them :)

keriackus commented 5 years ago

@erawhctim did you manage to fix this one?

erawhctim commented 5 years ago

@keriackus Nope - still an annoyance (though functionally the library works and builds fine in my project). It's just not annoying enough of an issue for me to dig in and figure out where/how to fix :)