In case someone has the same issue with Intellij on Ubuntu, the following solved my issue:
Remove everything in ~/.gradle/caches
More Related Contents:
- Android Gradle plugin 0.7.0: “duplicate files during packaging of APK”
- “No cached version… available for offline mode.”
- Android studio, gradle and NDK
- How to configure gradle to work “offline” (using cached dependencies)
- “Gradle Version 2.10 is required.” Error
- How do I show dependencies tree in Android Studio?
- Android Studio: Gradle – build fails — Execution failed for task ‘:dexDebug’
- 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”
- Android Studio how to package single AAR from multiple library projects?
- NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN error
- Android Studio: Gradle sync failed: Could not HEAD ‘…’. Received status code 502 from server: Bad Gateway [closed]
- Duplicate files copied (Android Studio 0.4.0) [duplicate]
- How to create an Android Library Jar with gradle without publicly revealing source code?
- how can I add the aidl file to Android studio (from the in-app billing example)
- 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
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- How to automatically uninstall android app from device before installing a new version
- Upgraded to Android studio 3.4 – Aapt2InternalException: AAPT2: Daemon startup failed
- 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
- OpenCv with Android studio 1.3+ using new gradle – undefined reference
- How to set up gradle and android studio to do release build?
- Android Studio and Gradle build error
- Gradle error upgrading to Android Studio 3.0 Beta 1
- Android Gradle DexException: Multiple dex files define Lorg/hamcrest/Description
- Could not find property ‘outputFile’ on com.android.build.gradle.internal.api.ApplicationVariantImpl
- Can an AAR include transitive dependencies? [duplicate]
- Android build gradle is too slow (Dependency Resolution)