Good day! For several days I have been trying to assemble a project, but nothing comes out, I don’t have enough experience, so I didn’t find the answer. See the project is assembled without errors, but when I start checking it on the emulator, the phone (I tried all the ways), I get these errors:
Error: Error converting bytecode to dex: Cause: com.android.dex.DexException: select Landroid support / v4 / accessibilityservice / AccessibilityServiceInfoCompat $ AccessibilityServiceInfoVersionImpl;
: app: transformClassesWithDexForDebug FAILED
Error: Execution failed for task ': app: transformClassesWithDexForDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process. internal.ExecException: Process 'command' C: \ Program Files \ Java \ jdk1.8.0_45 \ bin \ java.exe '' finished with non-zero exit value 2
Here is my gradle:
apply plugin: 'com.android.application' android { compileSdkVersion 17 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.Raduga.radio" minSdkVersion 11 targetSdkVersion 24 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } } dependencies { compile files('libs/aacdecoder-android-0.6.1.jar') compile files('libs/GoogleAdMobAdsSdk-6.2.1.jar') compile project(':cheetah-mobile-3.4.7') compile project(':unity-ads-1.5.8') compile files('libs/android-support-v4-23.1.1.jar') compile files('libs/appodeal-1.15.3.jar') compile files('libs/applovin-6.3.0.jar') compile files('libs/chartboost-6.5.1.jar') compile files('libs/flurry-analytics-6.5.0.jar') compile files('libs/my-target-4.5.10.jar') compile files('libs/yandex-metrica-2.41.jar') compile files('libs/aacdecoder-android-0.6.1.jar') compile files('libs/android-support-v7-recyclerview-23.1.1.jar') compile 'com.google.android.gms:play-services-ads:9.4.0' compile 'com.google.android.gms:play-services-location:9.4.0' compile 'com.google.android.gms:play-services-maps:9.4.0' } targetSdkVersion 24 on the 23 - 17 - 10 was originally, this is a purchased template.
Please help! Thank!