Which refers to the place where I import keen classes.
The same code builds properly with older versions of Android Gradle plugin so it seems the library is incompatible with Android Gradle plugin 4.1.0 or newer.
Issue is fixed. The error was caused by KEEN_URL generated by buildConfigField in our app. For some reason compiler incorrectly was blaming line with the import.
I'm having issues building android app with Android Gradle plugin 4.1.0 or newer.
build.gradle
The error I'm getting is:
Which refers to the place where I import keen classes.
The same code builds properly with older versions of Android Gradle plugin so it seems the library is incompatible with Android Gradle plugin 4.1.0 or newer.