错误:任务’:app:transformClassesWithDexForDeBUG’的执行失败.
com.android.build.transform.API.transformException: com.androID.IDe.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘C:\Program files\Java\jdk1.7.0_79\bin\java.exe” finished with non-zero exit value 1
app build.gradle
apply plugin: 'com.androID.application'apply plugin: 'com.Google.gms.Google-services'androID { compileSdkVersion 23 buildToolsversion "23.0.1" defaultConfig { applicationID "xxx.com.xxxx" multIDexEnabled true minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionname "1.0" } buildTypes { release { MinifyEnabled false proguardfiles getDefaultProguardfile('proguard-androID.txt'),'proguard-rules.pro' } }}dependencIEs { compile filetree(dir: 'libs',include: ['*.jar']) compile 'com.androID.support:appcompat-v7:23.0.1' //depend-materialcalendar compile 'com.prolificinteractive:material-calendarvIEw:0.8.1' compile 'com.androID.support:grIDlayout-v7:23.0.1' compile 'com.androID.support:cardvIEw-v7:23.0.1' compile 'com.melnykov:floatingactionbutton:1.3.0' //depend-cometchat compile 'com.yalantis:contextmenu:1.0.4' compile 'com.Google.code.gson:gson:2.3' compile files('libs/appcompat_v7.jar') compile files('libs/cometchat-sdk.jar') compile files('libs/Jsoup-1.7.3.jar') compile files('libs/picasso-2.5.2.jar') compile 'com.Google.androID.gms:play-services:8.1.0' compile 'com.Google.androID.gms:play-services-base:8.1.0' compile 'com.Google.androID.gms:play-services-maps:8.1.0' compile files('libs/volley.jar') compile files('libs/PayPalAndroIDSDK.jar') compile files('libs/gcm.jar') compile 'com.soundcloud.androID:android-crop:1.0.1@aar' compile 'com.facebook.androID:facebook-android-sdk:4.6.0' compile 'com.androID.support:multIDex:1.0.0' compile 'com.Google.androID.gms:play-services-plus:8.1.0' compile 'com.Google.androID.gms:play-services-IDentity:8.1.0'}
project build.gradle
buildscript { repositorIEs { jcenter() } dependencIEs { classpath 'com.androID.tools.build:gradle:1.3.0' classpath 'com.Google.gms:Google-services:1.4.0-beta3' // NOTE: Do not place your application dependencIEs here; they belong // in the indivIDual module build.gradle files }}allprojects { repositorIEs { jcenter() }}解决方法 >尝试清理项目,然后重新构建.
>尝试在app build.gradle文件中添加multIDexEnabled true.
defaultConfig { multIDexEnabled true}总结
以上是内存溢出为你收集整理的使用android google play服务的com.android.build.transform.api.TransformException全部内容,希望文章能够帮你解决使用android google play服务的com.android.build.transform.api.TransformException所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)