After days of trying out finally could fix the issue. The problem with one of my .jar files. I had to remove each jar and check one by one until i found it. I removed the .jar file and cleaned my project and ran successfully. If any one should face similar issue check your jar file one by one.
More Related Contents:
- Gradle – What is a non-zero exit value and how do I fix it?
- Android studio – Failed to complete gradle execution – error in opening zip file
- Is it possible to declare a variable in Gradle usable in Java?
- Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio
- Android Studio 3.1.3 Gradle Sync Error. Could Not Download Gradle-Core.jar
- Failed to resolve: com.google.firebase:firebase-core:16.0.1
- Import Google Play Services library in Android Studio
- UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define
- Manifest merger failed error
- Difference between google() and maven { url ‘https://maven.google.com’ }
- “Hello world” Android app with as few files as possible, no IDE, and text editor only
- Android studio – Failed to find target android-18
- Gradle sync failed: Unable to find method
- Failed to import new Gradle project: failed to find Build Tools revision *.0.0
- Error:Execution failed for task ‘:app:packageRelease’. > Unable to compute hash of /../AndroidStudioProjects/../classes.jar
- Android Studio Build gradle OutOfMemoryError
- Error:Timeout waiting to lock buildscript class cache for build file when change minSdkVersion
- Importing Facebook library in Android Studio: Could not find property ‘ANDROID_BUILD_SDK_VERSION’
- Got “unsupported class file version 52.0” after including a module to a project
- Android Studio 3.0 DexArchiveBuilderException
- Gradle – Error Could not find method implementation() for arguments [com.android.support:appcompat-v7:26.0.0]
- Error:Could not initialize class com.android.sdklib.repositoryv2.AndroidSdkHandler
- “Gradle Version 2.10 is required.” Error
- How can I resolve the error “The minCompileSdk (31) specified in a dependency’s AAR metadata” in native Java or Kotlin? [duplicate]
- How can I add a linked source folder in Android Studio?
- NetworkSecurityConfig: No Network Security Config specified — Android 7.0 error?
- IntelliJ Build Error Context Mismatch
- Android Studio Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
- Gradle error upgrading to Android Studio 3.0 Beta 1
- Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter