cordova - Problems in adding android as platform in phonegap application -
I downloaded the Android SDK and pulled it into a directory.
I have set the system variable
ANDROID_HOME: C: \ Users \ Aditya Sethi \ download \ adt-bundle-windows-x86-20140321 \ adt-bundle-windows -x86-20140321 \ sdk
Path: Existing path;% ANDROID_HOME% \ tools; ANDROID_HOME% \ platform-tools
Now When I'm trying to add a platform with adding cordova platform, Android
fails
error: $ cordova -d for android cordova library for platform "android" There is no need to download the release exists. If the platform "Android" passes the minimum requirements ... then prepare the Android project ... Running Command: "C: \ Users \ Aditya Sethi Cordova \ Bibi \ Android \ Cordova \ 3.4.0 \ Bin \\ Reet.Bet "-CC" C: \ Users \ Aditya Sethi \ Documents \ Project \ Conference \ Platform \ A NDED "com.phonegap.helloworld HelloWald 'C: \ Users aditya' An internal or external command, operative program or batch form The file has not been identified in. Command with Code 1: C: \ Users \ Aditya Sethi Cordova \ Bib / Android / C Orawa \ 3.4.0 \ bin \ create.bat --cli, c: \ Users \ Aditya Sethi \ Documents \ Project \ Ence \ Platforms \ android, com.phonegap.helloworld, HelloWorld error: C: \ Users \ Aditya Sethi Cordova \ lib \ android \ cordova \ 3.4.0 \ bin \ create.bat: Command failed with exit code 1 on ChildProcess. When it happened (c: \ Users \ Aditya Sethi \ AppData \ roaming \ npm \ node_mod ules \ cordova \ src \ superspawn.js: 126: 23) at ChildProcess.EventEmitter.emit (events.js: 98: 17) probably close (Child_process .js: 735: 16) In process. Hair process _handle.onexit (child_process.js: 802: 5)
Any ideas how to fix this?
It seems that there is a white space related problem. Do not try apathy in your way. Aditya and Lieutenant; Space & gt; Sethi
or ADITYA ~ 1
Use eg DOS names. Your env variable may be:
ANDROID_HOME: C: \ Users \ ADITYA ~ 1 \ Downloads \ adt-bundle-windows-x86-20140321 \ adt-bundle-windows-x86-20140321 \ Sdk
Comments
Post a Comment