问题描述:

When developing a Cordova/PhoneGap app I'd like to be able to develop with Chrome on my laptop without a device. Is there a way to do that?

For example with some sort of "cordova.stubs.js" that simulates the native portion of the API. Of course this is just for my development cycle and after iterating on my laptop for a while I would deploy and test on a real device or with a device emulator.

Thanks

Alex

网友答案:

Have you tried the Ripple emulator yet?

http://emulate.phonegap.com/

网友答案:

One fast alternative for simulate in android is: www.genymotion.com

网友答案:

If you're by any chance working on a MacBook, you can use the iPhone Simulator to run your PhoneGap app and then connect to it remotely.

  1. In the iPhone Simulator home screen, tap on Settings > Safari > Advanced. Enable the Web Inspector option.
  2. In your Mac's Safari, click on Develop -> iPhone Simulator -> index.html

    • As far as I know, this only works on iOS 6 and above.
网友答案:

go to here and you can open it in chrome browser and also you can use this if you have mobile and can debug using weinre

相关阅读:
Top