Hey Guys i'm a beginner app developer and i chose phonegap please see the problem while adding android as a platform for my project Here's The Code:
c:UserspshewaleDesktopphone gaphello>phonegap platform add android
npm
http GET https://registry.npmjs.org/cordova-android
npm http 304 https://registry.npmjs.org/cordova-android
Adding android project...
Error: cmd: Command failed with exit code ENOENT
at ChildProcess.whenDone (C:UserspshewaleAppDataRoaming
pm
ode_modules
phonegap
ode_modulescordova
ode_modulescordova-libsrccordovasuperspawn.j
s:134:23)
at ChildProcess.emit (events.js:107:17)
at Process.ChildProcess._handle.onexit (child_process.js:1072:12)
at child_process.js:1144:20
at process._tickCallback (node.js:355:11)
UPDATE:Thanks I Think It Moved A Bit Ahead But Now It Shows This:
C:Userspshewalehi>cordova platform add android
npm http GET https://registry.npmjs.org/cordova-android
npm http 200 https://registry.npmjs.org/cordova-android
npm http GET https://registry.npmjs.org/cordova-android
npm http 200 https://registry.npmjs.org/cordova-android
npm http GET https://registry.npmjs.org/cordova-android/-/cordova-android-4.0.2.
tgz
npm http 200 https://registry.npmjs.org/cordova-android/-/cordova-android-4.0.2.
tgz
Adding android project...
Error: cmd: Command failed with exit code ENOENT
at ChildProcess.whenDone (C:UserspshewaleAppDataRoaming
pm
ode_modules
cordova
ode_modulescordova-libsrccordovasuperspawn.js:134:23)
at ChildProcess.emit (events.js:107:17)
at Process.ChildProcess._handle.onexit (child_process.js:1072:12)
at child_process.js:1144:20
at process._tickCallback (node.js:355:11)
C:Userspshewalehi>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…