hi while compiling project getting error message java.exe finished non 0 exit value

thank in advance
apply plugin: 'com.android.application' android { compilesdkversion 21 buildtoolsversion "22.0.1" defaultconfig { applicationid "com.sentientit.theiwedplanner" minsdkversion 9 targetsdkversion 21 versioncode 13 versionname "11.2" multidexenabled true } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt' } debug { debuggable true minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt' } } } dependencies { compile 'com.android.support:support-v4:22.2.0' compile 'joda-time:joda-time:2.4' compile files('libs/bugsense-3.6.1.jar') compile files('libs/core.jar') compile files('libs/mtutils.jar') compile files('libs/socialauth-android-3.2.jar') compile files('libs/universal-image-loader-1.6.1-with-src.jar') compile files('libs/zxingjar-1.1.jar') compile 'com.google.android.gms:play-services:7.5.0' compile files('libs/ksoap2.jar') compile 'com.android.support:multidex:1.0.1' compile files('libs/twitter4j.jar') }
i having error after updating latest android studio.i fixed adding multidexenabled true in build.gradle within defaultconfig.
example:
defaultconfig { applicationid "com.stackoverflow.ranjith.androidprojdel" minsdkversion 15 targetsdkversion 22 versioncode 1 versionname "1.0" multidexenabled true }
Comments
Post a Comment