I have solved it by deleting the folder
c: \ users \ [myusername] \ .gradle \ caches \ 2.14.1
After reopening Android studio it was all fine
More Related Contents:
- Android Studio: Add jar as library?
- Android Gradle plugin 0.7.0: “duplicate files during packaging of APK”
- Error:(1, 0) Plugin with id ‘com.android.application’ not found
- “No cached version… available for offline mode.”
- How to use opencv in using Gradle?
- The number of method references in a .dex file cannot exceed 64k API 17
- “Gradle Version 2.10 is required.” Error
- Why are there two build.gradle files in an Android Studio project?
- Android Studio Error “Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8”
- Gradle build tool cannot find play-services-tasks.aar? Why?
- Is there any way to integrate Eclipse with Gradle in Android project?
- How to get current flavor in gradle
- Publish an Android library to Maven with AAR and sources JAR
- Autoincrement VersionCode with gradle extra properties
- How to create an Android Library Jar with gradle without publicly revealing source code?
- Android Studio: Gradle: error: cannot find symbol variable
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to
- Android Studio: Resolving Duplicate Classes
- Execution failed for task ‘:app:transformClassesWithDexForDebug’ while implementing Google sign in for Android
- Conflict with dependency ‘com.android.support:support-annotations’. Resolved versions for app (23.1.0) and test app (23.0.1) differ
- How to set different applicationId for each flavor combination using flavorDimensions?
- no cached version available for offline mode
- How to include a library module dependency in an Android Studio project?
- How to change the generated filename for App Bundles with Gradle?
- Unable to resolve dependency for ‘:app@debug/compileClasspath’: Could not resolve com.android.support:appcompat-v7:26.1.0
- Configuration with name ‘default’ not found. Android Studio
- Android Studio: how to generate signed APK using Gradle?
- Gradle error upgrading to Android Studio 3.0 Beta 1
- Android Studio: Gradle Product Flavors: Define custom properties
- Can an AAR include transitive dependencies? [duplicate]