Error Black White screen running the apk on Android device
Ionic version:
Ionic:
Ionic CLI : 6.16.1 (C:\Users\user\AppData\Roaming\npm\n
ode_modules@ionic\cli)
Ionic Framework : @ionic/angular 5.6.11
@angular-devkit/build-angular : 12.0.5
@angular-devkit/schematics : 12.0.5
@angular/cli : 12.0.5
@ionic/angular-toolkit : 4.0.0
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : android 9.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic
-webview 4.2.1, (and 15 other plugins)
Utility:
cordova-res : 0.15.3
native-run (update available: 1.4.0) : 1.3.0
System:
Android SDK Tools : 26.1.1 (C:\Users\user\AppData\Local\Android\Sdk)
NodeJS : v14.15.1 (C:\Program Files\nodejs\node.exe)
npm : 6.14.8
OS : Windows 7
Dependencies
“@angular/common”: “~12.0.1”,
“@angular/core”: “~12.0.1”,
“@angular/fire”: “^6.1.5”,
“@angular/forms”: “~12.0.1”,
“@angular/platform-browser”: “~12.0.1”,
“@angular/platform-browser-dynamic”: “~12.0.1”,
“@angular/router”: “~12.0.1”,
“@ionic-native/camera”: “^5.34.0”,
“@ionic-native/core”: “^5.34.0”,
“@ionic-native/date-picker”: “^5.34.0”,
“@ionic-native/device”: “^5.34.0”,
“@ionic-native/document-viewer”: “^5.34.0”,
“@ionic-native/file”: “^5.34.0”,
“@ionic-native/file-opener”: “^5.34.0”,
“@ionic-native/file-transfer”: “^5.34.0”,
“@ionic-native/fingerprint-aio”: “^5.34.0”,
“@ionic-native/image-picker”: “^5.34.0”,
“@ionic-native/keyboard”: “^5.34.0”,
“@ionic-native/onesignal”: “^5.34.0”,
“@ionic-native/photo-viewer”: “^5.34.0”,
“@ionic-native/social-sharing”: “^5.34.0”,
“@ionic-native/splash-screen”: “^5.34.0”,
“@ionic-native/status-bar”: “^5.34.0”,
“@ionic-native/stripe”: “^5.34.0”,
“@ionic-native/toast”: “^5.34.0”,
“@ionic/angular”: “^5.5.2”,
“@ngx-translate/core”: “^13.0.0”,
“@ngx-translate/http-loader”: “^6.0.0”,
“angular2-signaturepad”: “^3.0.4”,
“chart.js”: “^3.4.0”,
“cordova-plugin-androidx-adapter”: “^1.1.3”,
“cordova-res”: “^0.15.3”,
“firebase”: “^8.7.0”,
“globalthis”: “^1.0.2”,
“howler”: “^2.2.3”,
“html-to-image”: “^1.6.2”,
“ngx-card”: “^0.2.4”,
“react-native-woocommerce-api”: “^1.8.8”,
“rxjs”: “~6.6.0”,
“tslib”: “^2.0.0”,
“zone.js”: “~0.11.4”
==ERROR ==
Adb logCat
07-13 00:19:15.630 1460 1772 I ActivityManager: Start proc 5218:com.cit.egrupocit/u0a73 for activity com.cit.egrupocit/.MainActivity
07-13 00:19:16.192 5218 5218 I CordovaActivity: Apache Cordova native platform version 9.1.0 is starting
07-13 00:19:16.192 5218 5218 D CordovaActivity: CordovaActivity.onCreate()
07-13 00:19:16.331 5218 5218 W System : ClassLoader referenced unknown path: /system/app/webview/lib/x86
07-13 00:19:16.654 5218 5218 I chromium: [INFO:aw_field_trial_creator.cc(52)] First-WebView-Experiment found, group=Control
07-13 00:19:16.713 5218 5254 W cr_CrashFileManager: /data/user/0/com.MY.PROJECT/cache/WebView/Crash Reports does not exist or is not a directory
07-13 00:19:16.718 5218 5218 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$6>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/RenderProcessGoneDetail;
07-13 00:19:16.720 5218 5218 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.SafeBrowsingResponseAdapter>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
07-13 00:19:19.592 5218 5218 I chromium: [INFO:CONSOLE(1)] “Uncaught ReferenceError: globalThis is not defined”, source: http://localhost/main.b5e1b42bf56f00af562e.js (1)
07-13 00:19:19.654 5218 5218 I chromium: [INFO:CONSOLE(1)] “Could not find cordova.js script tag. Plugin loading may fail.”, source: http://localhost/cordova.5687a8f7461b757f98c1.js (1)
07-13 00:19:20.500 5218 5279 D PluginManager: getPlugin - put: CDVIonicKeyboard
07-13 00:19:20.571 5218 5218 I chromium: [INFO:CONSOLE(1)] “Ionic Native: deviceready event fired after 1132 ms”, source: http://localhost/main.b5e1b42bf56f00af562e.js (1)
07-13 00:19:20.650 1941 5209 W ConnectionTracker: Exception thrown while unbinding
07-13 00:19:20.650 1941 5209 W ConnectionTracker: java.lang.IllegalArgumentException: Service not registered: lt@6e916e4