0

I am trying to build "hello world" cordova app , and I have carefully installed android studio, android SDK and other required dependencies for cordova as well as configured the right path, but I am getting this error when I am trying to build :

akmozo
  • 9,829
  • 3
  • 28
  • 44
saurabh vyas
  • 115
  • 1
  • 10
  • 1
    Possible duplicate of [VM error while Build Cordova PhoneGap](http://stackoverflow.com/questions/30384375/vm-error-while-build-cordova-phonegap) – Phonolog Apr 05 '16 at 19:40

1 Answers1

1

Check your path environment variable, it should contain :

jdk\bin;Roaming\npm;android-sdks\platform-tools;android-sdks\tools;nodejs;nodejs\node_modules\npm\bin;Git\bin
akmozo
  • 9,829
  • 3
  • 28
  • 44
nacer
  • 11
  • 1