White screen after running Ionic 4 app in cordova

随声附和 提交于 2019-12-23 02:54:22

问题


I am new in ionic. When I started my first project in ionic 4 it worked perfectly with command for web ionic serve but in case of ionic cordova run android it shows nothing but white screen on emulator

Project Structure :

  • I have only created home component
  • ionic version 4
  • angular version 6.0.0

Solutions I have tried

1. Removing platform than adding it again ionic cordova -platform rm android ionic cordova -platform add android

Note :

I have created project by adding simple blank template, Than generated /home component. I need help as I have created so many things in this project. but could not run it on emulator.

If I miss anything than we can discuss. Thank you.


回答1:


Which version of android are you using?. If you are using Android 5, It's a know issue in ionic 4. Check this link



来源:https://stackoverflow.com/questions/53257106/white-screen-after-running-ionic-4-app-in-cordova

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