Привет всем, кто читает это, ну, я пытался сделать метод, который сказал, что мне это нужно в моем gradle.build: compile 'org.apache.ant:ant:1.8.0'
Затем я попытался построить свою градлу, т работал. Ну, так что я удалил, что из моего Gradle и он держит меня, сказав, что у меня есть эта ошибка при компиляции моего Gradle:2 ошибки при построении gradle в Android Studio
Executing tasks: [:app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources]
Configuration on demand is an incubating feature.
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2421Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72421Library UP-TO-DATE
:app:prepareComAndroidSupportConstraintConstraintLayout100Alpha9Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2421Library UP-TO-DATE
:app:prepareComAndroidSupportMediarouterV72400Library UP-TO-DATE
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:app:prepareComAndroidSupportPaletteV72400Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCompat2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCoreUi2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportCoreUtils2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportFragment2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportMediaCompat2421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42421Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2421Library UP-TO-DATE
:app:prepareComAndroidVolleyVolley100Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServices961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAds961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAdsLite961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAnalytics961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppindexing961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppinvite961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAuth961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAuthBase961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAwareness961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBase961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBasement961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesCast961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesCastFramework961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesClearcut961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesDrive961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesFitness961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGames961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGass961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGcm961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesIdentity961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesIid961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesInstantapps961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesLocation961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesMaps961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesNearby961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPanorama961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPlaces961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPlus961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesSafetynet961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesTagmanager961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesTagmanagerApi961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesTasks961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesVision961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesWallet961Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesWearable961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAnalytics961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAnalyticsImpl961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAuth961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAuthCommon961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAuthModule961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseCommon961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseConfig961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseCore961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseCrash961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseDatabase961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseDatabaseConnection961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseIid961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseMessaging961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseStorage961Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseStorageCommon961Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:processDebugGoogleServices
Parsing json file: C:\Users\Rafa\AndroidStudioProjects\XabiaGame\app\google-services.json
:app:generateDebugResources
:app:mergeDebugResources
Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
:app:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Я пытался поставить все свои услуги до настоящего времени, я имею в виду, 10.0.1 и держит меня сказать то же самое ...
Отъезд мой Gradle проект:
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.informatica.xabiagame"
minSdkVersion 15
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
jackOptions {
enabled true
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
/*repositories {
maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
}*/
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9'
compile 'com.android.support:design:24.2.1'
compile 'com.google.android.gms:play-services-maps:9.6.1'
compile 'com.google.android.gms:play-services-ads:9.6.1'
compile 'com.google.android.gms:play-services:9.6.1'
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services-auth:9.6.1'
compile 'com.google.code.gson:gson:2.2.2'
compile 'com.android.volley:volley:1.0.0'
//compile 'org.apache.ant:ant:1.8.0'
}
apply plugin: 'com.google.gms.google-services'
________________________________-
Добавлен мой проект Gradle проект
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
В чем проблема? Это заставляет меня говорить то же самое каждый раз ... Спасибо.
добавить скриншот:
попытался Файл -> аннулированию кэшей/Restart в андроиде студии –
Держит меня, говоря то же самое @MaharithAdityaSS – AlbusAllDay
http://stackoverflow.com/questions/41084578/android-errorexecution-failed-for-task-appmergedebugresources – siva35