Can't test Cordova app when open it in browser

后端 未结 3 803
小鲜肉
小鲜肉 2020-12-20 06:25

I created a Cordova app using the 4.3.0 version and the project for an iOS project.

Whenever I open the index.html (www folder) file in a

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-20 06:46

    Both answers wrong. The most correct way is run in your phone simulator or actual device.

    For android

    cordova emulate android
    

    For ios you need a Mac machine and Xcode.

提交回复
热议问题