Thursday, February 16, 2012

Android: PhoneGap

Follow instructions to install and set up
http://phonegap.com/start#android

to debug. need to open LogCat.
strange console.log() did not output here.
in the end, have to use Window > Show View > Other... > Android > LogCat (deprecated)

had problem connecting to device on debug mode. happen to find out Easy Tether is messing with USB debugging.

so refer to: http://stackoverflow.com/questions/4680637/mac-os-x-10-6-6-and-adb-devices-fails-to-list-android-devices


sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext
sudo rm -rf /System/Library/Extensions/EasyTetherUSBEthernet.kext

working now.

using dreamweaver to edit the HTML and JS. test it in chrome before launching in emulator or device.






No comments: