Guys, I have a problem with synthetic properties g...
# android
r
Guys, I have a problem with synthetic properties generation here. I moved some layouts to the debug source set, however the kotlin plugin won't generate the synthetic properties for the debug build type, ex: it only generates kotlix.android.synthetic...main and not kotlix.android.synthetic...debug Any help really appreciated.
d
I may not be able to directly answer your question, however, when I've had similar issues, I have always had to clean and rebuild and sometimes even "invalidate cache and restart"
Also, if I recall correctly, you cannot have the same class in your main source set and debug source set. Instead, you have to have a debug and then production source set for your build types. Without additional information about how you have your project set up, I can only guess ­čśĽ