Fixed build cordova app that show white screen

Job ID: 32357642

Budget: $10 – $30 USD

Hi,

I have one task that need your help.

I try to run my cordova app to android and IOS but after I use cordova build android && cordova run android --device. I got BUILD Success but my app show white screen.

the Cordova project is quite old version but I really need to use this app.

So anyone has experience on cordova project, Please help me to finish this task.

Thank you.

=======

Cordova Packages:

cli: 10.0.0
common: 4.0.2
create: 3.0.0
lib: 10.1.0
common: 4.0.2
fetch: 3.0.1
serve: 4.0.0

Project Installed Platforms:

android: 9.1.0
browser: 5.0.3
ios: 5.0.1

Project Installed Plugins:

cordova-android-support-gradle-release: 3.0.1
cordova-plugin-appavailability: 0.4.2
cordova-plugin-browsertab: 0.2.0
cordova-plugin-buildinfo: 2.0.1
cordova-plugin-camera: 4.1.1-dev
cordova-plugin-compat: 1.2.0
cordova-plugin-customurlscheme: 4.3.0
cordova-plugin-file: 6.0.1
cordova-plugin-firebase: 1.0.5
cordova-plugin-geolocation: 3.0.0
cordova-plugin-inappbrowser: 4.1.0
cordova-plugin-network-information: 3.0.0
cordova-plugin-splashscreen: 6.0.0
cordova-plugin-statusbar: 2.4.2
cordova-plugin-transport-security: 0.1.2
cordova-plugin-whitelist: 1.3.5
cordova-plugin-x-socialsharing: 5.4.1
cordova-universal-links-plugin: 1.2.1
es6-promise-plugin: 4.2.2

Environment:

OS: macOS 11.5.1 (20G80) (darwin 20.6.0) x64
Node: v14.17.0
npm: 8.0.0

android Environment:

android:
ERROR: Command failed with ENOENT: android list target
spawn android ENOENT


ios Environment:

xcodebuild:
Xcode 13.1
Build version 13A1030d

package.json:
--- Start of Cordova JSON Snippet ---
{
"plugins": {
"cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-geolocation": {},
"cordova-plugin-x-socialsharing": {},
"cordova-plugin-buildinfo": {},
"cordova-plugin-browsertab": {},
"cordova-plugin-customurlscheme": {
"URL_SCHEME": "com.truecorp.doonok",
"ANDROID_SCHEME": " ",
"ANDROID_HOST": " ",
"ANDROID_PATHPREFIX": "/"
},
"cordova-plugin-statusbar": {},
"cordova-plugin-transport-security": {},
"cordova-plugin-file": {},
"cordova-plugin-firebase": {},
"cordova-plugin-appavailability": {},
"cordova-android-support-gradle-release": {
"ANDROID_SUPPORT_VERSION": "27.+"
},
"cordova-universal-links-plugin": {},
"cordova-plugin-network-information": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-whitelist": {}
},
"platforms": [
"browser",
"ios"
]
}