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"
    
 
8
Kudos
 
8
Kudos

Now read this

Interesting hack: Office 2016 in night mode

If youre like me, you feel dark themes are important # Call me VT700 old school but the light on dark UI is superior to the default paper-white interfaces that come default with most programs. If youre staring at a screen for a full time... Continue →