java - Execution failed for task app:transformClassesAndResourcesWithProguardForDebug -


when try run app these errors:

error:execution failed task ':app:transformclassesandresourceswithproguardfordebug'. 

java.io.ioexception: please correct above warnings first.

this gradle file apply plugin: 'com.android.application'  android { compilesdkversion 24 buildtoolsversion "24.0.2"  defaultconfig {     applicationid "xxxxxxxxxxxxx"     minsdkversion 14     targetsdkversion 24     versioncode 1     versionname "1.0" } buildtypes {     release {         minifyenabled true         shrinkresources true         proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'     }     debug {         minifyenabled true         shrinkresources true     } } } repositories { mavencentral() } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) testcompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:24.2.1' compile 'com.android.support:design:24.2.1' compile 'com.google.android.gms:play-services:9.8.00' compile 'com.google.android.gms:play-services-auth:9.8.00' compile 'com.facebook.android:facebook-android-sdk:4.0.0' compile 'com.google.android.gms:play-services-ads:9.8.00' compile 'com.firebase:firebase-client-android:2.3.1' compile 'com.google.android.gms:play-services-gcm:9.8.00' } apply plugin: 'com.google.gms.google-services' 

can 1 why getting error?

it shows jar files duplicate ,but dont know dependency remove.

remove

debug {         minifyenabled true     } 

this worked me


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -