Моя сборка от jenkins не удалась, и моя ошибка:
FAILURE: сборка не удалась, исключение.
Что пошло не так:
Не удалось выполнить задачу «: app: mergeDebugResources».
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: ошибка компиляции ресурса Android
Вывод: C: \ Windows \ System32 \ config \ systemprofile.gradle \ caches \ transforms-1 \ files-1.1 \ appcompat-v7-28.0.0.aar \ 469a8bd93b2c9fb2a42463f1ac0d81a5 \ res \ layout \ abc_action_bar_up_container.xml: ошибка: файл не найден .
Команда: C: \ Windows \ System32 \ config \ systemprofile.gradle \ caches \ transforms-1 \ files-1.1 \ aapt2-3.2.1-4818971-windows.jar \ 0b5860598e9c67615c35754aea535df6 \ aapt2-3.2.1-4818971-windows \ aapt2 .exe компиляция --legacy \
-о \
C: \ Users \ ArPa \ Documents \ app \ build \ промежуточные \ res \ merged \ debug \
C: \ Windows \ System32 \ Config \ systemprofile.gradle \ кэши \ трансформирует-1 \ файлы-1.1 \ AppCompat-v7-28.0.0.aar \ 469a8bd93b2c9fb2a42463f1ac0d81a5 \ Рез \ расположение \ abc_action_bar_up_container.xml
Демон: AAPT2 aapt2-3.2.1-4818971-windows Демон # 2
Мой build.gradle
buildscript {
repositories {
maven {
url 'https://maven.google.com'
}
jcenter()
google()
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Мой gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Что я могу сделать?
Заранее спасибо!