Getting windows to play nicely with phonegap

Recommend before you start download an environment variable editor such as rapidEE.

  1. Install NodeJS
  2. Install Winant
  3. Install android SDK for windows Make sure the following is in your PATH env var:
  4. android bin. Eg: C:\Tools\adt-bundle-windows-x86_64-20130917\adt-bundle-windows-x86_64-20130917\sdk\tools
  5. android platform tools. Eg: C:\Tools\adt-bundle-windows-x86_64-20130917\adt-bundle-windows-x86_64-20130917\sdk\platform-tools
  6. ant bin. Eg: C:\Program Files (x86)\WinAnt\bin
  7. nodejs bin. Eg: C:\Program Files\nodejs
  8. nodejs NPM bin. Eg: C:\Users\pw\AppData\Roaming\npm
  9. jdk bin. Eg: C:\Program Files\Java\jdk1.7.0_25\bin
  10. Make sure your JAVA_HOME env var is set:
  11. JAVA_HOME Eg: C:\Program Files\Java\jdk1.7.0_25 install the phonegap node package node npm install -g phonegap
  12. Install android virtual device (AVD) using the android program
    1. you should be able to build locally by changing in to the root dir of this project and typing: node phonegap local build android
  13. you should be able to build/install/run android emulator via the command line in a single call

    phonegap local run android --emulator
  14. Debugging: In a separate console type:

    adb logcat | findstr "Web Console"

Now read this

How to keep hungry tigers busy in the early morning

Preface: feeding your pets is an important bonding ritual. You should avoid employing machines as a full substitute for feeding. But my tigers and I have reached a stalemate RE: Breakfast time Tigers sleep all day long. # Of course they... Continue →