简体   繁体   中英

Phonegap Android, testing in browser.

I'm building a Phonegap application. I've already made the html application, and tested it in my Windows Google Chrome browser, with no errors. I've cheked it in the navigator of my Android Phone and it is working. However, after Phonegap, I see some things are not working.

Which browser is Phonegap using? Is it not the same as the Android navigator? Can I somehow debug it?

On my Eclipse console I only see errors about Vertext shaders.

Thanks

PhoneGap instantiates an Android WebView component with is not equal to the Android Browser. If your code has console.log statements you should be able to see them in LogCat tab in Eclipse.

If you want better debugging you should add WeInRe to your project for remote debugging.

您可以添加console.log语句,可以在终端中使用adb logcat或使用DDMS查看。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM