https://kotlinlang.org logo
#android
Title
# android
s

skennedy

09/08/2017, 12:04 AM
i have module A with
class X
in it, and module B which depends on A, and
class Y : X()
in AS, everything looks fine, and i can click through on X in Y’s declaration to open up X. however, when i build (thourgh AS or command line), it says X cannot be found. this only happens with kotlin classes
r

rusticwolf

09/08/2017, 9:17 AM
Have you added the Kotlin plugin to module A? This happened to me and all I had to do was add the kotlin android plugin and all worked out well
s

skennedy

09/08/2017, 5:33 PM
Yes. Module A builds successfully on its own.
r

rusticwolf

09/13/2017, 5:38 AM
Probably adding the same plugin to Module B will help. Have you been able to build the project?