ionic android white screen after showing the splash screen

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 16:36:43
Ahmad Aghazadeh

The best of clarity is to find error، error on the emulator.

Debug Ionic Android Application On Mobile Devices or Emulators.

Inspect elements and network monitor, the same way you do with websites. Use chrome dev tools, write chrome://inspect/#devices in chrome address bar and hit enter. It will open the following page in your browser, showing all devices and hybrid applications running on it.

Now clicking on inspect will open the same inspection window like web page. See the following image for visual understanding.

For more info

Changing the target value in the tsconfig.json from es6 to es5 has worked.
Eg. "target": "es6" >>> "target": "es5"


Note: This problem will not automatically happen to the project unless you declare that explicitly.

Jamel Nytsee

You just need to add a new virtual device with the exact API version of your Android SDK and the white screen will go.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!