Why white screen stuck after splash screen in Ionic 4?

前端 未结 8 1737
盖世英雄少女心
盖世英雄少女心 2020-12-19 02:11

I run ionic cordova run android for my Ionic Cordova project. At this time, I have my mobile connected to PC via USB. So when I run that command, it installs th

8条回答
  •  佛祖请我去吃肉
    2020-12-19 02:42

    If changing config.xml did not work for you, TRY THIS

    Step 1 :
    Open index.html
    Change the base href from to

    Step 2:
    Open tsconfig.json
    Change the target in compilerOptions from "target": "es2015" to "target": "es5"

    Reference: https://github.com/ionic-team/capacitor/issues/1878#issuecomment-523497238

提交回复
热议问题