Сбоя строительства.Android

Форум для тех, кто программирует под Android
Ответить
Anonymous
 Сбоя строительства.

Сообщение Anonymous »


После обновления проекта сборка Windows не выполняется в App: mergedebugresources < /code> Задача: < /p>
< /blockquote>
Execution failed for task ':app:mergeDebugResources'.
> Resource compilation failed (Failed to compile values resource file .../merged.dir/values/values.xml. Cause: java.nio.file.InvalidPathException: Illegal char at index 43: com.lightrp.game.app-mergeDebugResources-27:/values/values.xml)
< /code>
Что я пробовал: < /p>
  • очистить кэш Gradle (.gradle)
  • Удаленные библиотеки один за другим
  • Измененные версии Gradle и AGP
  • отката от Commits
ничего не помогает. Похоже, в Windows есть проблема с пути; : в имени папки мешает сборке. Я не понимаю, откуда этот персонаж или как его удалить.
Версии:

[*] OS: Windows 11
[*] Gradle: 8.5
[*] android Gradle Plugin: 8.2.2

/> < /ul>
Вопрос: < /strong>
кто -нибудь столкнулся с InvalidPatexception < /code> в Windows при создании проекта Android? Как я могу решить эту проблему и получить MergedEbugresources работа?plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}

android {
namespace 'com.lightrp.game'
compileSdk 30

defaultConfig {
applicationId 'com.weiktongamesbrp.game'
minSdk 23
targetSdk 25
versionCode 14
versionName "1.4"

vectorDrawables.useSupportLibrary = true

ndk {
abiFilters 'armeabi-v7a'
}

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled false
}
}
}

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.tuyenmonkey:mkloader:1.4.0'
implementation group: 'org.ini4j', name: 'ini4j', version: '0.5.4'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation "com.github.skydoves:colorpickerpreference:2.0.4"
implementation 'com.github.egslava:edittext-mask:1.0.6'
testImplementation 'junit:junit:4.12'
implementation platform('com.google.firebase:firebase-bom:32.0.0')
implementation 'com.akexorcist:round-corner-progress-bar:2.2.0'
implementation 'com.github.hzy3774:AndroidP7zip:v1.7.1'
implementation 'com.liulishuo.filedownloader:library:1.7.7'
implementation 'com.makeramen:roundedimageview:2.3.0'
implementation "com.liulishuo.okdownload:okdownload:1.0.3"
implementation 'net.lingala.zip4j:zip4j:1.3.2'
implementation 'com.github.bumptech.glide:glide:4.15.1'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.github.GrenderG:Toasty:1.5.2'
implementation 'com.github.Triggertrap:SeekArc:v1.1'
}


Подробнее здесь: https://stackoverflow.com/questions/797 ... th-on-wind
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»