Changing this in file build.gradle
solved my problem.
From
ext.kotlin_version = '1.3.50'
to
ext.kotlin_version = '1.6.0'
Or whatever the latest version of Kotlin available and make sure to update Kotlin version on Android Studio as well.
More Related Contents:
- Unresolved reference – activity does not recognize synthetic imports in android studio v4
- How to fix ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android()?
- A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
- Error: Execution failed for task ‘:app:clean’. Unable to delete file
- Outdated Kotlin Runtime warning in Android Studio
- How to use Data Binding and Kotlin in Android Studio 3.0.0
- “Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16”
- Can’t create new Kotlin project after updating to Android Studio 4.2
- Android Studio 3.1: Erroneous unresolved references in editor
- android studio 0.4.2: Gradle project sync failed error
- startForeground fail after upgrade to Android 8.1
- Could not find com.android.tools.build:gradle:3.0.0-alpha1 in circle ci
- Android Studio – mergeDebugResources exception
- How do I import material design library to Android Studio?
- “unable to locate adb” using Android Studio [duplicate]
- Emulator in Android Studio doesn’t start
- Manifest merger failed targeting Android 12 [duplicate]
- Android Studio Gradle issue upgrading to version 0.5.0 – Gradle Migrating From 0.8 to 0.9 – Also Android Studio upgrade to 0.8.1
- Run lint when building android studio projects
- INSTALL_FAILED_USER_RESTRICTED : android studio using redmi 4 device
- How to change package name in android studio? [duplicate]
- Why does play-services-location need the android.permission.WRITE_EXTERNAL_STORAGE and android.permission.READ_EXTERNAL_STORAGE permissions?
- Recompile with -Xlint in Android studio
- Why a viewmodel factory is needed in Android?
- Installation failed with message Invalid File
- No Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator
- Import an eclipse android project with version control system into Android Studio
- Android Studio Emulator: VK_VERSION_1_1 check failed
- Execution failed for task ‘:app:checkReleaseDuplicateClasses’
- Keyboard hides BottomSheetDialogFragment