Okay. I don’t know how but this worked.
First I cleaned the project and then, running the project made everything go alright.
Inshort, First Clean
and then Run
.
Edit First Clean
and then Make Project
also works.
More Related Contents:
- All com.android.support libraries must use the exact same version specification
- Android Studio: Add jar as library?
- How can I use external JARs in an Android project?
- Java finished with non-zero exit value 2 – Android Gradle
- Android Material and appcompat Manifest merger failed
- 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?
- Android dependency has different version for the compile and runtime
- How to get current flavor in gradle
- Gradle error: Minimum supported Gradle version is 3.3. Current version is 3.2
- libpng error: Not a PNG file Error Showing In Android Studio
- Autoincrement VersionCode with gradle extra properties
- Gradle and Multi-Project structure
- Gradle Error:Execution failed for task ‘:app:processDebugGoogleServices’
- Android Studio: Resolving Duplicate Classes
- Error : Please fix the version conflict either by updating the version of the google-services plugin
- DELETE_FAILED_INTERNAL_ERROR Error while Installing APK
- Conflict with dependency ‘com.android.support:support-annotations’. Resolved versions for app (23.1.0) and test app (23.0.1) differ
- Android 3.1.1 – Failed resolution of: Lcom/google/android/gms/common/internal/zzbq;
- Dex error On Android Studio 3.0 Beta4
- java.lang.NullPointerException (no error message)
- Problem duplicate class androidx.lifecycle.viewmodel found in modules
- Difference between build.gradle (Project) and build.gradle (Module)
- Android studio 3.2.1 ArtifactResolveException: Could not resolve all artifacts for configuration ‘:classpath’
- How to fix google play service error
- Gradle warning: variant.getOutputFile() and variant.setOutputFile() are deprecated
- Android Studio: Re-download dependencies and sync project
- Gradle version 1.10 is required. Current version is 2.0
- Program type already present: android.support.v4.app.BackStackRecord
- Build variants in Gradle for a Library Project in Android