Я много раз без проблем собирал свое приложение Ioni c, внезапно я изменил P C и пересобрал приложение, затем оно упало.
Android Версия: 8.0. 0
Вот мои выходные данные
Ionic:
ionic (Ionic CLI) : 4.10.3 (C:\Users\developer\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.4.1
Cordova:
cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.1, (and 27 other plugins)
System:
(F:\Software\Development\android-sdk-windows1)
NodeJS : v10.16.3 (C:\Program Files\nodejs\node.exe)
npm : 6.10.3
OS : Windows 10
и моя посылка. json Файл, как показано ниже:
{
"name": "Ionic App",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^7.2.4",
"@angular/cdk": "~7.3.7",
"@angular/common": "^7.2.4",
"@angular/core": "^7.2.4",
"@angular/forms": "^7.2.4",
"@angular/http": "^7.2.4",
"@angular/material": "^7.3.7",
"@angular/platform-browser": "^7.2.4",
"@angular/platform-browser-dynamic": "^7.2.4",
"@angular/router": "^7.2.4",
"@ionic-native/android-permissions": "^4.20.0",
"@ionic-native/app-launcher": "^5.16.0",
"@ionic-native/app-rate": "^5.16.0",
"@ionic-native/base64": "^5.19.0",
"@ionic-native/camera": "^5.8.0",
"@ionic-native/contacts": "^5.10.0",
"@ionic-native/core": "^5.0.0",
"@ionic-native/device-orientation": "^5.16.0",
"@ionic-native/diagnostic": "^5.11.0",
"@ionic-native/facebook": "^5.15.1",
"@ionic-native/fcm": "^5.13.0",
"@ionic-native/file": "^5.11.0",
"@ionic-native/file-path": "^5.17.0",
"@ionic-native/geolocation": "^5.8.0",
"@ionic-native/google-plus": "^5.15.1",
"@ionic-native/image-picker": "^5.17.0",
"@ionic-native/in-app-browser": "^5.4.0",
"@ionic-native/ionic-webview": "^5.11.0",
"@ionic-native/launch-navigator": "^5.8.0",
"@ionic-native/location-accuracy": "^5.11.0",
"@ionic-native/native-geocoder": "^5.8.0",
"@ionic-native/network": "^5.7.0",
"@ionic-native/screen-orientation": "^5.11.0",
"@ionic-native/sensors": "^5.16.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/sqlite": "^5.7.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.11.7",
"@ionic/core": "^4.0.2",
"@ionic/storage": "^2.2.0",
"@mauron85/cordova-plugin-background-geolocation": "^3.1.0",
"angular-font-awesome": "^3.1.2",
"angularfire2": "^5.2.1",
"as": "^0.4.1",
"chart.js": "^2.8.0",
"com-badrit-base64": "0.2.0",
"cordova-android": "8.0.0",
"cordova-android-support-gradle-release": "^3.0.0",
"cordova-browser": "5.0.4",
"cordova-plugin-actionsheet": "^2.3.3",
"cordova-plugin-advanced-geolocation": "git+https://github.com/esri/cordova-plugin-advanced-geolocation.git",
"cordova-plugin-app-launcher": "^0.4.0",
"cordova-plugin-apprate": "^1.5.0",
"cordova-plugin-camera": "^4.0.3",
"cordova-plugin-contacts": "^3.0.1",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-facebook4": "^6.2.0",
"cordova-plugin-fcm-with-dependecy-updated": "^3.2.0",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-filepath": "^1.5.6",
"cordova-plugin-geolocation": "^4.0.1",
"cordova-plugin-globalization": "^1.11.0",
"cordova-plugin-googleplus": "^8.2.0",
"cordova-plugin-inappbrowser": "^3.1.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^4.1.3",
"cordova-plugin-mock-location-checker": "git+https://github.com/diegorribeiro/cordova-plugin-mock-location-checker.git",
"cordova-plugin-nativegeocoder": "^3.2.2",
"cordova-plugin-nativestorage": "^2.3.2",
"cordova-plugin-network-information": "^2.0.1",
"cordova-plugin-request-location-accuracy": "^2.3.0",
"cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-sensors": "git+https://github.com/fabiorogeriosj/cordova-plugin-sensors.git",
"cordova-plugin-splashscreen": "^5.0.3",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-telerik-imagepicker": "^2.3.3",
"cordova-plugin-whitelist": "^1.3.4",
"cordova-sqlite-storage": "^3.2.0",
"cordova.plugins.diagnostic": "^5.0.0",
"core-js": "^2.5.4",
"es6-promise-plugin": "^4.2.2",
"firebase": "^6.3.4",
"font-awesome": "^4.7.0",
"hammerjs": "^2.0.8",
"ionic-selectable": "^4.4.0",
"ionic2-calendar": "^0.5.2",
"moment": "^2.24.0",
"ng2-charts": "2.2.3",
"ng2-search-filter": "^0.5.1",
"ngx-quill": "^7.3.2",
"node": "^10.12.0",
"quill": "^1.3.6",
"rxjs": "~6.3.3",
"uk.co.workingedge.phonegap.plugin.launchnavigator": "^5.0.4",
"zone.js": "~0.8.29"
},
"devDependencies": {
"@angular-devkit/architect": "~0.12.4",
"@angular-devkit/build-angular": "~0.12.4",
"@angular-devkit/core": "~7.2.4",
"@angular-devkit/schematics": "~7.2.4",
"@angular/cli": "~7.2.4",
"@angular/compiler": "~7.2.4",
"@angular/compiler-cli": "~7.2.4",
"@angular/language-service": "~7.2.4",
"@ionic/angular-toolkit": "~1.4.1",
"@ionic/lab": "^1.0.22",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~10.12.0",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.4",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~8.0.0",
"tslint": "~5.12.0",
"typescript": "~3.2.3"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
},
"cordova-plugin-inappbrowser": {},
"cordova-sqlite-storage": {},
"cordova-plugin-network-information": {},
"cordova-plugin-nativegeocoder": {},
"uk.co.workingedge.phonegap.plugin.launchnavigator": {
"GOOGLE_API_KEY_FOR_ANDROID": "{xxxxxxx}",
"OKHTTP_VERSION": "3.12.0"
},
"cordova-android-support-gradle-release": {
"ANDROID_SUPPORT_VERSION": "27.+"
},
"cordova-plugin-geolocation": {},
"cordova-plugin-camera": {},
"cordova-plugin-contacts": {},
"cordova-plugin-file": {},
"cordova-plugin-screen-orientation": {},
"cordova.plugins.diagnostic": {
"ANDROID_SUPPORT_VERSION": "28.+"
},
"cordova-plugin-request-location-accuracy": {
"PLAY_SERVICES_LOCATION_VERSION": "16.+"
},
"cordova-plugin-fcm-with-dependecy-updated": {
"FCM_CORE_VERSION": "16.0.9",
"FCM_VERSION": "18.0.0",
"GRADLE_TOOLS_VERSION": "2.3.+",
"GOOGLE_SERVICES_VERSION": "3.0.0"
},
"cordova-plugin-facebook4": {
"APP_ID": "xxxxx",
"APP_NAME": "App",
"FACEBOOK_HYBRID_APP_EVENTS": "false",
"FACEBOOK_ANDROID_SDK_VERSION": "5.5.2"
},
"cordova-plugin-googleplus": {
"REVERSED_CLIENT_ID": "XXXXXX",
"WEB_APPLICATION_CLIENT_ID": "XXXXXX",
"PLAY_SERVICES_VERSION": "15.0.1"
},
"cordova-plugin-sensors": {},
"cordova-plugin-mock-location-checker": {},
"cordova-plugin-globalization": {},
"cordova-plugin-apprate": {},
"cordova-plugin-advanced-geolocation": {},
"cordova-plugin-filepath": {},
"cordova-plugin-app-launcher": {},
"cordova-plugin-telerik-imagepicker": {},
"com-badrit-base64": {}
},
"platforms": [
"android"
]
}
}
Я борюсь за несколько дней,
Я попытался удалить платформу, node_modules, а также очистить кеш узла и попытался несколько изменений версии, не сработало.
Любая помощь приветствуется.