- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
<分区>
我有一个依赖:
compile 'com.google.android.gms:play-services:6.1.+'
当我将其更改为更新的依赖项时,作为:
compile 'com.google.android.gms:play-services:7.5.0'
出现以下构建错误:
Error:Execution failed for task ':app:dexDebug'.
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 with non-zero exit value 2
我的构建.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.dailyspring.rejo.cpray"
minSdkVersion 16
targetSdkVersion 21
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.google.android.gms:play-services:6.1.+'
// compile 'com.google.android.gms:play-services-base:6.5.87'
// compile 'com.google.android.gms:play-services:6.5.87'
compile 'com.microsoft.azure:azure-mobile-services-android-sdk:2.0-beta'
compile(group: 'com.microsoft.azure', name: 'azure-notifications-handler', version: '1.0.1', ext: 'jar')
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
compile 'in.srain.cube:ultra-ptr:1.0.9@aar'
compile 'com.microsoft.azure:azure-mobile-services-android-sdk:2.0.2-beta'
compile 'com.android.support:support-v4:21.0.3'
compile 'com.google.code.gson:gson:2.2.2'
compile 'com.google.guava:guava:18.0'
compile 'com.github.leonardoxh:custom-font:1.2'
compile 'com.oguzdev:CircularFloatingActionMenu:1.0.2'
compile 'com.pkmmte.view:circularimageview:1.1'
compile 'com.wrapp.floatlabelededittext:library:0.0.6'
compile 'com.github.markushi:circlebutton:1.1'
compile 'com.github.hoang8f:android-flat-button:fa012e04ef'
compile 'com.beardedhen:androidbootstrap:+'
compile 'com.andreabaccega:android-form-edittext:1.1.0@aar'
compile 'com.github.balysv:material-ripple:v1.0.2'
compile 'com.github.clans:fab:1.5.0'
compile 'com.github.futuresimple:android-floating-action-button:1.9.0'
compile 'com.github.bumptech.glide:glide:3.6.0'
compile 'com.github.kikoso:AppRate-Android:1.0-RELEASE'
}
repositories {
mavenCentral()
maven {
// url "http://dl.bintray.com/microsoftazuremobile/SDK"
url "https://jitpack.io"
}
}
我有一个问题,大约 2 天我无法解决。我分析了几乎所有关于这个错误的问题,但我无法处理它。 这是我的树: MyAppRoot -MyApp -libs -jar4.jar
我正在使用 Gradle 构建我的应用程序,并添加了几个库,如 Play Services 和 ChartBoost。我还设置了multiDexEnabled true在我的安卓build.gradl
如果我只是构建我的项目,它会说构建成功。但是,如果我运行我的项目,它会说构建失败。是这样说的 > :app:preDexDebug trouble processing "javax/xml/bind
我想启动我的应用程序“app”,我在构建 gradle 时遇到错误: Error:Execution failed for task ':app:dexDebug'. com.android.ide.
我的gradle执行失败,并显示以下错误消息。我在SO上搜索了许多其他答案,建议这样做: dexOptions { preDexLibraries = false } 有人
在libs中是一个* .jar文件。 同步:OK 制作项目:OK 清洁:确定 运行:错误 错误: 错误:任务':app:dexDebug'的执行失败。 com.android.ide.common.p
在尝试运行我的项目时,出现以下错误: Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.process.P
当我将 targetSDK 版本从 21 更改为 23 时,我目前遇到了问题。 更改并构建 gradle 后,当我尝试运行应用程序时出现错误 Error:Execution failed for ta
我最近尝试在我的应用程序上测试本地后端支持,但遇到了一些 gradle 构建问题。以下是我收到的错误: Error:Execution failed for task ':app:dexDebug'.
我刚刚将 baseGameUtils 导入到我的 Android 游戏中,以便添加 Google Play 排行榜,但是,当我按下播放按钮时,我收到此错误:“错误:任务 ':app:dexDebug'
这是我的 build.gradle 文件。 apply plugin: 'com.android.application' android { compileSdkVersion 20
Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.internal.LoggedErrorExcept
我在 Android Studio 中处理一个包含多个库的项目。我正在使用 App:dexdebug 大约两天,并尝试了所有可能的解决方案。我知道这是因为一些重复的依赖关系,但我不确定我在哪里插入了重
我的 Android Studio 项目有问题,它编译正常,但我不知道我做了什么破坏了它。 Error:Execution failed for task ':app:dexDebug'. com.a
昨天,当我尝试调试我的应用程序并在我的设备上运行它时,Gradle 控制台在 :mobile:dexDebug 之后立即开始显示此错误: AGPBI: {"kind":"SIMPLE","text":
您好,我的应用程序运行有问题。我搜索了相同的主题但不明白。我没有同名的类(class)。感谢您的帮助。这个问题可能会重复,但我想向您展示我的日志和依赖项。 再次更新build.gradle和messa
我有 3 个正在构建的模块。 A(一个没有依赖的android库) B(依赖于 A 的 android 库) C(依赖于 B 和 A 的 android 应用程序) 首先,我只想在 C 中声明 B 并
我知道以前曾问过这个问题,但仍然没有得到答案。该代码运行正常,但是当我尝试将其与Firebase集成时,我开始遇到此错误。 错误:任务':app:dexDebug'的执行失败。 com.android
> apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "
我正在尝试将“ Material 设计”集成到我的应用程序中,但我遇到了 appcompat 问题。当我创建新应用程序(没有任何更改)时,会出现此错误,并且所有应用程序中都出现相同的问题,其中我已包含
我是一名优秀的程序员,十分优秀!