I noticed the latest Compose Multiplatform <wants>...
# multiplatform
s
I noticed the latest Compose Multiplatform wants navigation-compose 2.9.0-beta02, but when I upgrade from 2.9.0-beta01, I get this cryptic Android lint error. Anyone else seeing this?
Copy code
A failure occurred while executing com.android.build.gradle.internal.lint.AndroidLintWorkAction
> Unexpected failure during lint analysis (this is a bug in lint or one of the libraries it depends on)
  
  Message: Unexpected failure during lint analysis (this is a bug in lint or one of the libraries it depends on)
  
  Message: Unexpected failure during lint analysis of MainActivity.kt (this is a bug in lint or one of the libraries it depends on)
  
  Message: Found class org.jetbrains.kotlin.analysis.api.resolution.KaCallableMemberCall, but interface was expected
  
  The crash seems to involve the detector \\\`androidx.lifecycle.lint.NonNullableMutableLiveDataDetector\\\`.
  You can try disabling it with something like this:
      android {
          lint {
              disable "NullSafeMutableLiveData"
          }
      }
  
  Stack: \\\`IncompatibleClassChangeError:NonNullableMutableLiveDataDetector$createUastHandler$1.visitCallExpression(NonNullableMutableLiveDataDetector.kt:140…
👍 2
s
For those searching for a solution to this problem, here are some relevant threads and a workaround: https://issuetracker.google.com/issues/418014548#comment6
tldr: add
android.experimental.lint.version=8.8.2
to gradle.properties.
s
This worked perfectly, thanks!
🙌 1