Hello friends, today i am get this code from stack overflow platform. I thing its a common issue about render so, I will put code here this may very helpful for you. Thank you. admin omegla
In your build. gradle, try to update Kotlin to 1.5.10 and Compose to beta08.
Like this:
buildscript {
ext {
compose_version = '1.0.0-beta08'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:7.1.0-alpha01"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}