Android studio Error:Execution failed for task ':app:preDexDebug' -


i newbie , created first program hello world, while running shows error message

error:execution failed task ':app:predexdebug'.> com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'e:\program files\java\jdk1.8.0_45\bin\java.exe'' finished non-zero exit value 1 

my build.gradle

 apply plugin: 'com.android.application' android { compilesdkversion 22 buildtoolsversion '22.0.1'  defaultconfig {     applicationid "com.example.android.helloworld"     minsdkversion 15     targetsdkversion 22     versioncode 1     versionname "1.0" } buildtypes {     release {         minifyenabled false         proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'     } } }  dependencies {   // app dependencies compile 'com.android.support:appcompat-v7:22.+'   } 

please me.......

enter image description here

i solved issue downloading latest version of gradle.

and goto file ----> invalidate caches/restart

and it's work me


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -