Go to Tools > Kotlin > Configure Kotlin Plugin Updates and check for updates
then in your app gradle file replace jre with jdk
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Update
Newer version is jdk8
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
Related Contents:
- Android Kotlin: Getting a FileNotFoundException with filename chosen from file picker?
- Singleton object becomes null after app is resumed
- ListAdapter not updating item in RecyclerView
- getInstance() doesn’t work with other location than us-central1 in Realtime Database
- startForeground fail after upgrade to Android 8.1
- Updating Paging 3 alpha to stable cause indexing issue Android
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0
- Unresolved reference – activity does not recognize synthetic imports in android studio v4
- How to create empty constructor for data class in Kotlin Android
- RecyclerView itemClickListener in Kotlin
- IllegalArgumentException: navigation destination xxx is unknown to this NavController
- Opening Android Settings programmatically
- Why do I get “unresolved reference” error for my view’s name/ID when I type it in Kotlin?
- Error:Execution failed for task ‘:app:compileDebugKotlin’. > Compilation error. See log for more details
- Dependancy error when integrating android studio project with Firebase for a google sign in feature
- activeNetworkInfo.type is deprecated in API level 28
- NullPointerException when trying to access views in a Kotlin fragment
- Android – How to achieve setOnClickListener in Kotlin?
- Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException
- Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
- Default interface methods are only supported starting with Android 7.0 (Nougat)
- HTTP Request in Android with Kotlin
- android.view.View.systemUiVisibility deprecated. What is the replacement?
- How to fix ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android()?
- How to call a function after delay in Kotlin?
- Notify Observer when item is added to List of LiveData
- Cannot find symbol DataBindingComponent on Android Studio 3.2 Canary 16 Kotlin project
- Why the view keeps flashing when using jetpack navigation with Compose?
- Error : Program type already present: android.support.design.widget.CoordinatorLayout$Behavior
- Singleton with parameter in Kotlin
- Change Chip Widget style programmatically not working – Android
- Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15
- Convert string into LocalDateTime
- The ‘kotlin-android-extensions’ Gradle plugin is deprecated
- Kotlin and Firebase read and write data
- No Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator
- Error:Execution failed for task ‘:app:kaptDebugKotlin’
- How are Android activities handled with Jetpack Compose and Compose Navigation?
- Android : Permissions check for BLE [closed]
- Outdated Kotlin Runtime warning in Android Studio
- Existing 3-function callback to Kotlin Coroutines
- what does “::” mean in kotlin?
- Jetpack Compose collapsing toolbar
- Why a new ViewModel is created in each Compose Navigation route?
- push notification enable and disable by using switch
- Kotlin Android debounce
- How to implement timer with Kotlin coroutines
- How to save enum field in the database room?
- JaCoCo returning 0% Coverage with Kotlin and Android 3.0
- Jetpack Compose Smart Recomposition