I just attempted to upgrade my Kotlin Android proj...
# android
a
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
Clean build+ IDE invalidate caches and restart
a
thanks, but I'm already building with
./gradlew clean build
shurgs
r
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