I have a project including another project using `...
# gradle
n
I have a project including another project using
includeBuild()
. I'm using Android Studio Arctic Fox 2020.3.1. When I build it in Idea it seems to succeed, classes referenced from the included build are resolved as well. But in the editors these references remain "red", they cannot be resolved by the editors. Do you have any suggestion how I should investigate the root of the problem?
Oh, I've just seen this post: https://kotlinlang.slack.com/archives/C19FD9681/p1627750678012500 Seems to be very similar...
v
It's not really similar.
buildSrc
is not an included build, though it is similar in concept and eventually will be made an included build, but that post also is about
buildSrc
classes used in Groovy DSL build scripts. I don't think that is related to your problem with composite builds and usage in production code. So did you say it works properly in IntelliJ or it is "red" there too? If IntelliJ (and thus AS) behaves strange, a first shot in the dark usually is to do "Invalidate caches and restart", maybe that helps already for your case.