PhoneGap is a downstream distribution of Cordova that Adobe maintains and there are obvious differences in the CLI. It'd be nice if the docs were for PhoneGap's CLI and not Cordova's CLI, but even though I work for Adobe, I have no idea where our users are supposed to file these bugs. I just know that they shouldn't be in JIRA.
What happens when you use Cordova's CLI? On Thu, Apr 3, 2014 at 9:10 PM, Igor Costa <[email protected]> wrote: > Trying to use the lastest build 3.4.19.11 > > Machine Specs: > Win 7 > Android sdk latest > > Expect result: > > Add Android as platform > > > Result gotten: > > > c:\project_to_path>phonegap run android > [phonegap] detecting Android SDK environment... > [phonegap] using the local environment > [phonegap] adding the Android platform... > > C:\Users\riacycle\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:126 > throw e; > ^ > Error: An error occurred while listing Android targets > at > C:\Users\riacycle\.cordova\lib\android\cordova\3.4.0\bin\lib\check_reqs.js:87:29 > at _rejected > (C:\Users\riacycle\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:808:24) > at > C:\Users\riacycle\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:834:30 > at Promise.when > (C:\Users\riacycle\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:1079:31) > at Promise.promise.promiseDispatch > (C:\Users\riacycle\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:752:41) > at > C:\Users\riacycle\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:574:44 > at flush > (C:\Users\riacycle\.cordova\lib\android\cordova\3.4.0\bin\node_modules\q\q.js:108:17) > at process._tickCallback (node.js:415:13) > [error] cmd: Command failed with exit code 8 > > c:\project_to_path> > > > Also, docs.phonegap.com are very confused, npm install -g cordova asks to > add platform add Android > > Phonegap node asks to add phonegap run android. > > > is there a way I can update those docs and anyone see this error? > > Best Regards > > ---------------------------- > Igor Costa > www.igorcosta.com > www.igorcosta.org
