gpt4 book ai didi

android - Android Studio-执行任务失败:app:dexDebug

转载 作者:行者123 更新时间:2023-12-03 05:14:57 36 4
gpt4 key购买 nike

> apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
useLibrary 'org.apache.http.legacy'
packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
}
defaultConfig {
applicationId "com.clickaley.eric.restaurants"
minSdkVersion 11
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
maven { url "http://jzaccone.github.io/SlidingMenu-aar" }
maven {
url "https://s3.amazonaws.com/repo.commonsware.com"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/gson-2.2.4.jar')
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.okhttp:okhttp:2.2.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.1'
compile 'com.fasterxml.jackson.core:jackson-core:2.4.1'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.4.1'
compile 'com.squareup.retrofit:converter-jackson:1.9.0'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.slider:library:1.1.5@aar'
compile 'com.google.android.gms:play-services:7.8.0'
compile 'com.github.jd-alexander:library:1.0.6'
compile 'com.jeremyfeinstein.slidingmenu:library:1.3@aar'
compile 'com.github.bmelnychuk:atv:1.2.+'
compile 'com.android.support:support-v4:23.0.0'
}

无法找出问题出在哪里。
* 什么地方出了错:
任务':app:dexDebug'的执行失败。

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-7-openjdk-amd64/bin/java'' finished with non-zero exit value 2

最佳答案

Here was the problem

去掉:

compile 'com.google.android.gms:play-services:7.8.0' And replacing it with:

compile 'com.google.android.gms:play-services-location:7.8.0' compile 'com.google.android.gms:play-services-analytics:7.8.0'

关于android - Android Studio-执行任务失败:app:dexDebug,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33908934/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com