You could try clearing your gradle cache: gradle clean --refresh-dependencies
and delete the contents of ~/.gradle/caches
. Should help.
For more details, see https://stackoverflow.com/a/22670684/1243753
More Related Contents:
- Android Studio gradle takes too long to build
- Using Build Flavors – Structuring source folders and build.gradle correctly
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- Android Studio: Gradle – build fails — Execution failed for task ‘:dexDebug’
- Android Studio Gradle Configuration with name ‘default’ not found
- gradle – library duplicates in dependencies
- Version conflict updating to play-services 9.4.0 Android studio 2.2
- A failure occurred while executing com.android.build.gradle.internal.tasks
- Adding local .aar files to my gradle build
- how can I add the aidl file to Android studio (from the in-app billing example)
- Gradle Sync failed could not find constraint-layout:1.0.0-alpha2
- Unable to import Eclipse project to Android Studio
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- Could not find com.android.tools.build:gradle:4.0.1 ( or any version )
- Android Studio Run/Debug configuration error: Module not specified
- add ‘tools:replace=”Android:value”‘ to element at AndroidManifest
- Add GitHub library as dependency to Android Studio project
- Stuck with Gradle Build Running
- How to apply plugin to only one flavor in gradle?
- Android XML: RuntimeException: Failed to resolve attribute at index 6
- How to downgrade to older version of Gradle
- How to set up gradle and android studio to do release build?
- Android Gradle DexException: Multiple dex files define Lorg/hamcrest/Description
- After update android studio could not create parent directory for lock file
- Could not find property ‘outputFile’ on com.android.build.gradle.internal.api.ApplicationVariantImpl
- While Android Studio Updated to v3.3 getting API ‘variant.getAssemble()’ is obsolete and has been replaced with ‘variant.getAssembleProvider()’
- Can an AAR include transitive dependencies? [duplicate]
- How to get code coverage using Android Studio?
- How to install Android Studio on Ubuntu?
- gradle, Could not expand ZIP appcompat-v7:19.0.1