Hi there, keep in mind im kind noob.
I have created an app and tested successfully with:
- “ionic serve”
- “ionic cordova run android --device --livereload --consolelogs”
- Creating a debug build and installing in my phone “ionic cordova buil android --device --debug”
But if a create a production build using
- ionic cordova build android --prod --release
and follow the sign steps in https://ionicframework.com/docs/intro/deploying/
When i put the apk in my phone, after que splash screen im stuck in a White Screen forever.
I have tried a lot of the solutions here and nothing so far.
Here is my “ionic info”:
cli packages: (C:\Users\bemhu\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms : android 6.3.0 ios 4.4.0
Ionic Framework : ionic-angular 3.7.0
System:
Android SDK Tools : 26.1.1
Node : v6.12.3
npm : 3.10.10
OS : Windows 10
Environment Variables:
ANDROID_HOME : C:\Users\bemhu\AppData\Local\Android\Sdk
Misc:
backend : pro
And my package.json:
{
"name": "sticks",
"version": "0.0.2",
"author": "Argus Computação",
"homepage": "http://www.arguscomputacao.com.br/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.4.3",
"@angular/compiler": "4.4.3",
"@angular/compiler-cli": "4.4.3",
"@angular/core": "4.4.3",
"@angular/forms": "4.4.3",
"@angular/http": "4.4.3",
"@angular/platform-browser": "4.4.3",
"@angular/platform-browser-dynamic": "4.4.3",
"@ionic-native/core": "^4.5.2",
"@ionic-native/native-storage": "^4.5.2",
"@ionic-native/network": "^4.5.2",
"@ionic-native/splash-screen": "^4.5.2",
"@ionic-native/status-bar": "^4.5.2",
"@ionic/storage": "^2.1.3",
"bignumber.js": "^4.1.0",
"cordova-android": "~6.3.0",
"cordova-ios": "^4.5.4",
"cordova-plugin-add-swift-support": "^1.6.1",
"cordova-plugin-device": "^1.1.7",
"cordova-plugin-ionic": "^2.0.3",
"cordova-plugin-nativestorage": "^2.2.2",
"cordova-plugin-network-information": "^2.0.1",
"cordova-plugin-splashscreen": "^4.1.0",
"cordova-plugin-statusbar": "^2.4.1",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-sqlite-storage": "^2.2.0",
"ionic-angular": "3.7.0",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"rxjs": "5.4.3",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.17"
},
"devDependencies": {
"@ionic/app-scripts": "3.0.0",
"typescript": "2.3.4"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-ionic": {
"APP_ID": "9e11c661",
"CHANNEL_NAME": "Master",
"UPDATE_METHOD": "auto",
"UPDATE_API": "https://api.ionicjs.com",
"MAX_STORE": "2"
},
"cordova-plugin-nativestorage": {},
"cordova-plugin-network-information": {},
"cordova-plugin-statusbar": {},
"cordova-sqlite-storage": {}
},
"platforms": [
"ios",
"android"
]
}
}
Can somebody help? (sorry if my english is bad)