I’ve deleted .gradle folder from the project and was able to rebuild it again.
N.B: Make a backup, just in case.
More Related Contents:
- Android Studio: Add jar as library?
- Java finished with non-zero exit value 2 – Android Gradle
- How to manually include external aar package using Gradle for Android
- Can the Android layout folder contain subfolders?
- Building and running app via Gradle and Android Studio is slower than via Eclipse
- Android Studio gradle takes too long to build
- Gradle: Execution failed for task ‘:processDebugManifest’
- More than one file was found with OS independent path ‘META-INF/LICENSE’
- Why are there two build.gradle files in an Android Studio project?
- How to get current flavor in gradle
- Autoincrement VersionCode with gradle extra properties
- Gradle and Multi-Project structure
- Gradle Error:Execution failed for task ‘:app:processDebugGoogleServices’
- Could not find com.android.tools.build:gradle:4.0.1 ( or any version )
- Android Studio: Resolving Duplicate Classes
- Conflict with dependency ‘com.android.support:support-annotations’. Resolved versions for app (23.1.0) and test app (23.0.1) differ
- How to include a library module dependency in an Android Studio project?
- build.gradle and project libs
- Android Studio – Error:Program type already present
- Android studio 3.2.1 ArtifactResolveException: Could not resolve all artifacts for configuration ‘:classpath’
- Gradle warning: variant.getOutputFile() and variant.setOutputFile() are deprecated
- How to replace a string for a buildvariant with gradle in android studio?
- Gradle failed to sync with ‘unable to find optional library’
- How to exclude res folder from gradle build flavours?
- Cannot resolve symbol ‘AndroidJUnit4’
- Gradle version 1.10 is required. Current version is 2.0
- Setting up Gradle for api 26 (Android)
- Could not find property ‘outputFile’ on com.android.build.gradle.internal.api.ApplicationVariantImpl
- Build variants in Gradle for a Library Project in Android
- Android build gradle is too slow (Dependency Resolution)