Ошибка построения конденсатора. Причина: java.nio.file.invalidpathexception: незаконно char <:> в индексе 38Javascript

Форум по Javascript
Ответить Пред. темаСлед. тема
Anonymous
 Ошибка построения конденсатора. Причина: java.nio.file.invalidpathexception: незаконно char <:> в индексе 38

Сообщение Anonymous »

Я застрял с проблемой в течение последних 2 дней. Нет никакого прогресса. < /p>
Я попытался удалить платформу. Добавление платформы < /p>
Обновление версии Gradle .. < /p>
Буквально все < /p>
Я даже не знаю, что вызывает проблему. /> [*] Удал и заново добавлен Android < /code> платформа (cordova platform rm android && cordova platform add android)

[*] deleted .gradle/, build/, node_modules/, платформы/ и переосмыслить все

[*] radgred gradle версия. gradle-8.11.1-all.zip

[*] Пробовал запустить с:
./gradlew clean < /code>

./gradlew assembleDebug --refresh-dependencies --no-daemon

[*] Убедитесь, что Android Studio не находится в автономном режиме

[*] Specialed/Uprading Plugind Plugins

vaders/structions.xble. символы < /p>
< /li>
< /ol>
FAILURE: Build failed with an exception.
[capacitor]
[capacitor] * What went wrong:
[capacitor] Execution failed for task ':app:mergeDebugResources'.
[capacitor] > A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
[capacitor] > Resource compilation failed (Failed to compile values resource file D:\App\android\app\build\intermediates\incremental\debug\mergeDebugResources\merged.dir\values\values.xml. Cause: java.nio.file.InvalidPathException: Illegal char at index 38: com.package.app-mergeDebugResources-59:/values/values.xml). Check logs for more details.
< /code>
follwoing is my package.json

{
"name": "app",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"lint": "ng lint",
"android": "ionic capacitor run android --livereload --external"
},
"private": true,
"dependencies": {
"@angular/animations": "^16.2.8",
"@angular/cdk": "^16.2.8",
"@angular/common": "^16.2.8",
"@angular/compiler": "^16.2.8",
"@angular/core": "^16.2.8",
"@angular/forms": "^16.2.8",
"@angular/google-maps": "^19.0.4",
"@angular/material": "^16.2.8",
"@angular/platform-browser": "^16.2.8",
"@angular/platform-browser-dynamic": "^16.2.8",
"@angular/router": "^16.2.8",
"@awesome-cordova-plugins/android-permissions": "^6.4.0",
"@awesome-cordova-plugins/barcode-scanner": "^6.4.0",
"@awesome-cordova-plugins/camera": "^6.14.0",
"@awesome-cordova-plugins/core": "^6.4.0",
"@awesome-cordova-plugins/diagnostic": "^6.14.0",
"@awesome-cordova-plugins/file": "^6.4.0",
"@awesome-cordova-plugins/flashlight": "^6.4.0",
"@awesome-cordova-plugins/in-app-browser": "^6.3.0",
"@awesome-cordova-plugins/in-app-update": "^6.4.0",
"@awesome-cordova-plugins/launch-navigator": "^6.4.0",
"@awesome-cordova-plugins/network": "^6.4.0",
"@awesome-cordova-plugins/ocr": "^6.4.0",
"@awesome-cordova-plugins/toast": "^6.14.0",
"@byteowls/capacitor-filesharer": "^6.0.0",
"@capacitor-community/contacts": "^6.1.1",
"@capacitor-community/image-to-text": "^7.0.0",
"@capacitor/android": "^7.2.0",
"@capacitor/app": "^7.0.0",
"@capacitor/app-launcher": "^7.0.0",
"@capacitor/browser": "^7.0.0",
"@capacitor/camera": "^7.0.0",
"@capacitor/core": "^7.0.0",
"@capacitor/device": "^7.0.0",
"@capacitor/filesystem": "^7.0.0",
"@capacitor/haptics": "^7.0.0",
"@capacitor/keyboard": "^7.0.0",
"@capacitor/network": "^7.0.0",
"@capacitor/screen-orientation": "^7.0.0",
"@capacitor/share": "^7.0.0",
"@capacitor/status-bar": "^7.0.0",
"@ionic-native/android-fingerprint-auth": "^5.36.0",
"@ionic-native/android-permissions": "^5.36.0",
"@ionic-native/app-version": "^5.36.0",
"@ionic-native/base64-to-gallery": "^5.36.0",
"@ionic-native/camera": "^5.36.0",
"@ionic-native/camera-preview": "^5.36.0",
"@ionic-native/contacts": "^5.36.0",
"@ionic-native/core": "^5.36.0",
"@ionic-native/device": "^5.36.0",
"@ionic-native/file": "^5.36.0",
"@ionic-native/flashlight": "^5.36.0",
"@ionic-native/geolocation": "^5.36.0",
"@ionic-native/http": "^5.36.0",
"@ionic-native/launch-navigator": "^5.36.0",
"@ionic-native/location-accuracy": "^5.36.0",
"@ionic-native/native-geocoder": "^5.36.0",
"@ionic-native/navigation-bar": "^5.36.0",
"@ionic-native/network": "^5.36.0",
"@ionic-native/open-native-settings": "^5.36.0",
"@ionic-native/photo-library": "^5.36.0",
"@ionic-native/qr-scanner": "^5.36.0",
"@ionic-native/screenshot": "^5.36.0",
"@ionic-native/sms-retriever": "^5.36.0",
"@ionic-native/social-sharing": "^5.36.0",
"@ionic-native/status-bar": "^5.36.0",
"@ionic-native/toast": "^5.36.0",
"@ionic-native/touch-id": "^5.36.0",
"@ionic-native/video-player": "^5.36.0",
"@ionic/angular": "^8.3.1",
"@ionic/cordova-builders": "^10.0.0",
"@ionic/storage": "^4.0.0",
"@ionic/storage-angular": "^4.0.0",
"@ngx-translate/core": "^15.0.0",
"@ngx-translate/http-loader": "^8.0.0",
"@zxing/browser": "^0.1.4",
"@zxing/library": "^0.20.0",
"capacitor-native-biometric": "^4.2.2",
"capacitor-resources": "^2.0.5",
"cordova-plugin-contacts": "^3.0.1",
"cordova-plugin-file": "^8.1.3",
"cordova-plugin-statusbar": "^4.0.0",
"cordova-plugin-x-socialsharing": "^6.0.4",
"crypto-js": "^4.2.0",
"easyqrcodejs": "^4.6.1",
"es6-promise-plugin": "^4.2.2",
"file-saver": "^2.0.5",
"html2canvas": "^1.4.1",
"ionicons": "^7.0.0",
"jetifier": "^2.0.0",
"js-sha512": "^0.9.0",
"jsbarcode": "^3.11.5",
"jsencrypt": "^3.3.2",
"localforage-cordovasqlitedriver": "^1.8.0",
"ng-otp-input": "^1.9.3",
"rxjs": "^7.8.1",
"svg-country-flags": "^1.2.10",
"swiper": "^10.3.1",
"tslib": "^2.6.2",
"util": "^0.12.5",
"zone.js": "~0.14.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.2.5",
"@angular-eslint/builder": "^16.2.0",
"@angular-eslint/eslint-plugin": "^16.2.0",
"@angular-eslint/eslint-plugin-template": "^16.2.0",
"@angular-eslint/schematics": "^16.2.0",
"@angular-eslint/template-parser": "^16.2.0",
"@angular/cli": "^16.2.5",
"@angular/compiler-cli": "^16.2.8",
"@angular/language-service": "^16.2.8",
"@capacitor/assets": "^3.0.5",
"@capacitor/cli": "^7.0.0",
"@ionic/angular-toolkit": "^10.0.0",
"@types/crypto-js": "^4.2.1",
"@types/googlemaps": "^3.43.3",
"@types/jasmine": "~5.1.0",
"@types/node": "^20.8.10",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"autoprefixer": "^10.4.19",
"cordova-android": "^12.0.1",
"cordova-plugin-actionsheet": "^2.3.3",
"cordova-plugin-android-fingerprint-auth": "^1.5.0",
"cordova-plugin-android-permissions": "^1.1.5",
"cordova-plugin-app-version": "^0.1.14",
"cordova-plugin-camera": "^8.0.0",
"cordova-plugin-camera-preview": "^0.12.3",
"cordova-plugin-device": "2.1.0",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-flashlight": "github:EddyVerbruggen/Flashlight-PhoneGap-Plugin",
"cordova-plugin-geolocation": "^5.0.0",
"cordova-plugin-mobile-ocr": "^3.1.3",
"cordova-plugin-nativegeocoder": "^3.5.1",
"cordova-plugin-navigationbar": "^1.0.31",
"cordova-plugin-qrscanner": "^3.0.1",
"cordova-plugin-request-location-accuracy": "^2.3.0",
"cordova-plugin-sms-retriever-manager": "^1.0.4",
"cordova-sqlite-storage": "^6.1.0",
"cordova.plugins.diagnostic": "^7.1.3",
"eslint": "^8.51.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jsdoc": "46.8.2",
"eslint-plugin-prefer-arrow": "1.2.3",
"jasmine-core": "~5.1.1",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.2",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.1",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"onesignal-cordova-plugin": "^5.2.7",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.0",
"uk.co.workingedge.phonegap.plugin.launchnavigator": "^5.0.6"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-sms-retriever-manager": {
"PLAY_SERVICES_VERSION": "15.0.1"
},
"cordova-sqlite-storage": {},
"cordova-plugin-nativegeocoder": {},
"cordova-plugin-geolocation": {
"GPS_REQUIRED": "true"
},
"cordova-plugin-navigationbar": {},
"cordova.plugins.diagnostic": {
"ANDROIDX_VERSION": "1.0.0",
"ANDROIDX_APPCOMPAT_VERSION": "1.3.1"
},
"uk.co.workingedge.phonegap.plugin.launchnavigator": {
"GOOGLE_API_KEY_FOR_ANDROID": "xx",
"OKHTTP_VERSION": "3.12.0"
},
"cordova-plugin-youtube-video-player": {},
"cordova-plugin-app-version": {},
"cordova-plugin-android-fingerprint-auth": {},
"cordova-plugin-android-permissions": {},
"cordova-plugin-camera-preview": {},
"cordova-plugin-camera": {},
"cordova-plugin-tesseract": {},
"cordova-plugin-mobile-ocr": {},
"cordova-plugin-flashlight": {},
"onesignal-cordova-plugin": {},
"cordova-plugin-request-location-accuracy": {
"PLAY_SERVICES_LOCATION_VERSION": "16.+"
},
"cordova-plugin-qrscanner": {}
},
"platforms": [
"android"
]
}
}


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

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

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

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

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

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

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