Gradle build failing in Android Studio -
error:
error:execution failed task ':app:createdebugmaindexclasslist'. com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\program files\java\jdk1.8.0_25\bin\java.exe'' finished non-zero exit value 1
my build.gradle is,
android { compilesdkversion 21 buildtoolsversion '19.1.0' defaultconfig { applicationid "com.example.izabuy" minsdkversion 14 multidexenabled true targetsdkversion 21 compileoptions { sourcecompatibility javaversion.version_1_7 targetcompatibility javaversion.version_1_7 } } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt' } } compileoptions { sourcecompatibility javaversion.version_1_7 targetcompatibility javaversion.version_1_7 } repositories { jcenter() mavencentral() maven { url 'https://dl.bintray.com/drummer-aidan/maven' } dependencies { compile 'com.android.support:multidex:1.0.1' compile 'com.android.support:support-v4:22.1.1' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.google.code.gson:gson:2.3.1' compile 'com.loopj.android:android-async-http:1.4.7' compile 'de.greenrobot:eventbus:2.4.0' compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4' compile 'com.etsy.android.grid:library:1.0.5' compile 'com.facebook.android:facebook-android-sdk:4.1.0' compile project(':aviarysdk') compile 'com.google.android.gms:play-services:7.5.0' compile 'com.android.support:cardview-v7:22.1.1'} }
i did not problem in this. if build, rebuild , clean project ok. when run application above message display. tried still error display. please me. thank you.
remove javaversion.version_1_7 , sync gradle should work
Comments
Post a Comment