Всякий раз, когда я вносил какие-либо изменения в файл XML из проекта и пытался его запустить, я получил эту ошибку-< /p>
выполнение не удалось для задачи ': app: mergedebugresources'.
(D: Q \ App \ Build \ Intermediates \ Merced-Not-Compilled-Resources \ Debug \ Mayout \ notification_action.xml)
в исходных наборах. < /P>
< /blockquote>
Для запуска проекта мне нужно делать> чистый проект каждый раз, если я вношу какие-либо изменения в xml. -< /p>
plugins {
id 'com.android.application'
}
android {
compileSdk 32
defaultConfig {
applicationId "xxxxx"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'com.github.ybq:Android-SpinKit:1.4.0'
}
Подробнее здесь: https://stackoverflow.com/questions/722 ... e-resource
Выполнение не удалось для задачи ': app: mergedebugresources', невозможно найти ресурсофиль в исходных наборах ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Исполнение не удалось для задачи ': приложение: mergedebugresources'. Android Studio
Anonymous » » в форуме Android - 0 Ответы
- 5 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Не удалось выполнить задачу «:app:mergeDebugResources». Android-студия
Anonymous » » в форуме Android - 0 Ответы
- 14 Просмотры
-
Последнее сообщение Anonymous
-