java - Execution failed for task ':app:dexDebug' in Android Studio -


com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\program files\java\jdk1.7.0_75\bin\java.exe'' finished non-zero exit value 2

      when developing app error , not able run app. build getting successful. not run app. please provide me information solve this........ 

and getting exception while build app

aapt err(1229713066): c:\users\rramnath143729\androidstudioprojects\appathon_app\app\src\main\res\drawable-hdpi\ic_drawer.png: libpng warning: iccp: not recognizing known srgb profile has been edited aapt err(2016822147): c:\users\rramnath143729\androidstudioprojects\appathon_app\app\src\main\res\drawable-mdpi\ic_drawer.png: libpng warning: iccp: not recognizing known srgb profile has been edited aapt err(949986979): c:\users\rramnath143729\androidstudioprojects\appathon_app\app\src\main\res\drawable-xhdpi\ic_drawer.png: libpng warning: iccp: not recognizing known srgb profile has been edited aapt err(949986979): c:\users\rramnath143729\androidstudioprojects\appathon_app\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.0.0\res\drawable-hdpi-v4\abc_spinner_mtrl_am_alpha.9.png: libpng warning: iccp: not recognizing known srgb profile has been edited

note: c:\users\rramnath143729\androidstudioprojects\appathon_app\app\src\main\java\com\amat\rramnath143729\appathon_app\navigationdrawerfragment.java uses or overrides deprecated api. note: recompile -xlint:deprecation details. note: input files use unchecked or unsafe operations. note: recompile -xlint:unchecked details.

and when looked build.gradle file, find cannot resolve symbol 'getdefaultproguardfile'-----

buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } }

don't understand if have actual question, regarding aapt err, might help: https://code.google.com/p/android/issues/detail?id=77704

i'm actualy downloading imagemagick try update png files, should rid of error.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -