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

andreasmattsson

09/04/2018, 12:09 PM
I just attempted to upgrade my Kotlin Android project to use the "androidx" jetpack libraries rather than the old support libraries, and suddenly all my kotlin-android-extensions synthetic view properties are reporting errors in gradle build:
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch
Anyone have any troubleshooting advice?
l

louiscad

09/04/2018, 1:09 PM
Clean build+ IDE invalidate caches and restart
a

andreasmattsson

09/04/2018, 1:25 PM
thanks, but I'm already building with
./gradlew clean build
shurgs
r

rkeazor

09/04/2018, 2:17 PM
You have library conflicts most likely. Any library that still uses android support , you need to exclude it
In your build.gradle
You should also go thru your XML as well