Незаконный char <:> в индексе 40: com.recognize.app-mergedebugresources-33: /values/values.xml)JAVA

Программисты JAVA общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Незаконный char <:> в индексе 40: com.recognize.app-mergedebugresources-33: /values/values.xml)

Сообщение Anonymous »

Я не могу скомпилировать свое приложение из -за этой ошибки < /p>
com.android.aaptcompiler.ResourceCompilationException:
Resource compilation failed
(Failed to compile values resource file C:\Users\hesam\AndroidStudioProjects\RecognizeProject\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\values.xml.
Cause: java.nio.file.InvalidPathException: Illegal char at index 40: com.recognize.app-mergeDebugResources-33:/values/values.xml).
< /code>
И я не знаю, что происходит ... < /p>
build.gradle (module) < /p>
plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
id 'com.google.firebase.firebase-perf'
}

android {
compileSdk 32

defaultConfig {
applicationId "com.recognize"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

dependencies {
implementation platform('com.google.firebase:firebase-bom:30.0.1')
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-database'
implementation 'com.google.firebase:firebase-storage'
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-crashlytics'
implementation 'com.google.firebase:firebase-perf'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'io.github.yanndroid:oneui:2.4.0'
implementation 'com.mikhaellopez:circularimageview:4.3.0'
implementation 'com.github.bumptech.glide:glide:4.13.0'
implementation 'io.github.chaosleung:pinview:1.4.4'
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
< /code>
build.gradle (Project) < /p>
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}

dependencies {
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
classpath 'com.google.firebase:perf-plugin:1.4.1'
}
}

plugins {
id 'com.android.application' version '7.2.0' apply false
id 'com.android.library' version '7.2.0' apply false
}

task clean(type: Delete) {
delete rootProject.buildDir
}
< /code>
Я не знаю, какую другую информацию я должен положить сюда.
Возможно ли, что это из -за какой -то библиотеки?>

Подробнее здесь: https://stackoverflow.com/questions/723 ... 3-values-v
Реклама
Ответить Пред. темаСлед. тема

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

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

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

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

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

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