I think multiple implementations may be in your classpath.
j
J-Rojas
03/09/2018, 5:56 PM
This is in my common module:
dependencies {
compile "org.jetbrains.kotlinkotlin stdlib$kotlin_version"
compile "org.jetbrains.kotlinkotlin reflect$kotlin_version"
implementation "org.jetbrains.kotlinkotlin stdlib common$kotlin_version"
testCompile "org.jetbrains.kotlinkotlin test annotations common$kotlin_version"
testCompile "org.jetbrains.kotlinkotlin test common$kotlin_version"
}`
Removing some of the implementation/compile lines from the Android project does not remove the linting errors.
s
sglim
03/12/2018, 1:52 AM
I think this like may cause the problem:
implementation fileTree(dir: ‘libs’, include: [‘*.jar’])
Please search the libs folder for any redundant kotlin dependencies and remove it.
j
J-Rojas
03/12/2018, 10:23 PM
Thanks for the suggestion, but there's no files in the lib folder. Taking that out has no effect. That was boiler plate generated by the Android Studio project.