The following steps helps
- Close your project, and in your project folder delete
project/.idea
- Delete
~/.gradle
folder.
Open the project again. Everything should be solved.
More Related Contents:
- What is Gradle in Android Studio?
- How to check if Gradle dependency has new version?
- Error:Conflict with dependency ‘com.google.code.findbugs:jsr305’
- Build Android Studio app via command line
- gradle behind proxy in Android Studio 1.3
- First React Native App: Task :app:processDebugMainManifest FAILED
- Could not find or load main class org.gradle.wrapper.GradleWrapperMain
- Gradle finished with non-zero exit value 1 (ic_launcher.png: error: Duplicate file)
- Error running android: Gradle project sync failed. Please fix your project and try again
- Copy existing project with a new name in Android Studio
- Android Studio — clear application data for Instrumentation Test
- Android Studio – no debuggable applications
- How to set gradle home while importing existing project in Android studio
- Gradle tasks are not showing in the gradle tool window in Android Studio 4.2
- Android Studio suddenly cannot resolve symbols
- Android studio add external project to build.gradle
- How to configure gradle to work “offline” (using cached dependencies)
- Using ViewPagerIndicator library with Android Studio and Gradle
- How to change or add theme to Android Studio?
- Duplicate files copied (Android Studio 0.4.0) [duplicate]
- Android Studio build fails with “Task ” not found in root project ‘MyProject’.”
- Unable to resolve dependency for ‘:app@debug/compileClasspath’: Could not resolve com.android.support:appcompat-v7:26.1.0
- How to delete a module in Android Studio
- How to build a ‘release’ APK in Android Studio?
- How to increase editor font size?
- Error while waiting for device: Time out after 300seconds waiting for emulator to come online
- Best way to incorporate Volley (or other library) into Android Studio project
- Android Studio Gradle Build Error: Read Time Out
- “/dev/kvm not found “error on windows in android studio
- Extract all hardcoded strings to string resource