- Exit Studio.
- Delete .idea/ (seems to me that’s most important), build/, app/build directories.
- Start Studio
- Set Settings -> Build -> Gradle settings back (last stable Gradle local distribution in my case).
- Clean&rebuild project.
Helps me.
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()?
- 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
- A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
- Error: Execution failed for task ‘:app:clean’. Unable to delete file
- Android Studio 3.1 Cannot Resolve Symbol (Themes, Widget, attr, etc.)
- 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 EditText StackOverflowError
- Where is a “Sync project with gradle files” button in Android Studio 3?
- Execution failed for task ‘:app:compileDebugJavaWithJavac’ Android Studio 3.1 Update
- Handling click events on a drawable within an EditText
- updating Google play services in Emulator
- Updating Paging 3 alpha to stable cause indexing issue Android
- How can I convert a part of Java source file to Kotlin?
- The APK file does not exist on disk
- IllegalArgumentException: navigation destination xxx is unknown to this NavController
- Android studio Gradle icon error, Manifest Merger
- Error:Failed to open zip file. Gradle’s dependency cache may be corrupt
- Opening Android Settings programmatically
- How to share a single library source across multiple projects
- Does Android Volley support SSL?
- Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication ?Android
- Error “Gradle sync failed: Connection refused: connect”
- Android Studio create project template for new projects
- How to get exact size without recomposition?
- How to replace a string for a buildvariant with gradle in android studio?
- Activity class does not exist (Error type 3)