You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Igor Costa <ig...@gmail.com> on 2014/04/04 06:10:21 UTC

cordova build error

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

Re: cordova build error

Posted by Igor Costa <ig...@gmail.com>.
Ok, thank you guys I just found my error, the solution it was pretty simple
and now works perfectly.

The build of cordova doesn't check if  PATH does have platform-tools and
tools set.

For some how,it just ignore and execute the run command without check for
the right configuration.

Isn't possible to double check android environment variables both string
ends "platform-tools" and "tools" in the preparing task?


Best Regards
Igor



----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org


On Fri, Apr 4, 2014 at 2:02 PM, Igor Costa <ig...@gmail.com> wrote:

>
> This is the outcome
>
>
> 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:\xampp\htdocs\madeiraint\mobile\madeiraint>
>
>
> It's a very uncommon behavior, since I have latest android 22.6.1 SDK
> installed and all setup.
>
> Phonegap 3.3+ worked previously great.
>
>
>
> Currently nightly build I have installed and I've tried to re-install
> again the module.
>
> I strangely get those http satus code:
>
> npm http 304 https://registry.npmjs.org/pause/0.0.1
> npm http 304 https://registry.npmjs.org/uid2/0.0.3
> npm http 304 https://registry.npmjs.org/send/0.1.4
> npm http 304 https://registry.npmjs.org/cookie/0.1.0
> npm http 304 https://registry.npmjs.org/batch/0.5.0
> npm http 304 https://registry.npmjs.org/cookie-signature/1.
> npm http 304 https://registry.npmjs.org/bytes/0.2.1
> npm http 304 https://registry.npmjs.org/qs/0.6.6
> npm http 304 https://registry.npmjs.org/fresh/0.2.0
> npm http 304 https://registry.npmjs.org/raw-body/1.1.2
> npm http 304 https://registry.npmjs.org/methods/0.1.0
> npm http 304 https://registry.npmjs.org/buffer-crc32/0.2.1
> npm http 304 https://registry.npmjs.org/multiparty/2.2.0
> npm http 304 https://registry.npmjs.org/debug
> npm http 304 https://registry.npmjs.org/negotiator/0.3.0
> npm http GET https://registry.npmjs.org/mime
> npm http GET https://registry.npmjs.org/range-parser/0.0.4
> npm http 304 https://registry.npmjs.org/range-parser/0.0.4
> npm http 304 https://registry.npmjs.org/mime
> npm http GET https://registry.npmjs.org/stream-counter
> npm http GET https://registry.npmjs.org/readable-stream
> npm http 304 https://registry.npmjs.org/stream-counter
> npm http 304 https://registry.npmjs.org/readable-stream
> npm http GET https://registry.npmjs.org/inherits
>
>
> I've then set npm config set ssl-strict=false to make sure it does work,
> but it didn't.
>
>
>
>
> ----------------------------
> Igor Costa
> www.igorcosta.com
> www.igorcosta.org
>
>
> On Fri, Apr 4, 2014 at 1:33 PM, Joe Bowser <bo...@gmail.com> wrote:
>
>> Have you installed any SDKs for Android? What happens when you run the
>> Android command?
>> On 4 Apr 2014 09:18, "Igor Costa" <ig...@gmail.com> wrote:
>>
>> > Yep
>> >
>> > I do, here's
>> >
>> > C:\Users\riacycle>ant -version
>> > Apache Ant(TM) version 1.9.3 compiled on December 23 2013
>> >
>> >
>> >
>> >
>> > ----------------------------
>> > Igor Costa
>> > www.igorcosta.com
>> > www.igorcosta.org
>> >
>> >
>> > On Fri, Apr 4, 2014 at 12:46 PM, Shazron <sh...@gmail.com> wrote:
>> >
>> > > Igor,
>> > > Do you have ANT installed?
>> > >
>> > >
>> > > On Fri, Apr 4, 2014 at 4:42 AM, Igor Costa <ig...@gmail.com>
>> wrote:
>> > >
>> > > > Hi there Joe.
>> > > >
>> > > > This is what happens.
>> > > >
>> > > > c:\xampp\htdocs\madeiraint\mobile\madeiraint>cordova platform add
>> > android
>> > > > Creating android project...
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> 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
>> > > >     at ChildProcess.whenDone
>> > > >
>> > > >
>> > >
>> >
>> (C:\Users\riacycle\AppData\Roaming\npm\node_modules\cordova\src\superspawn.js:112:23)
>> > > >     at ChildProcess.EventEmitter.emit (events.js:98:17)
>> > > >     at maybeClose (child_process.js:743:16)
>> > > >     at Process.ChildProcess._handle.onexit (child_process.js:810:5)
>> > > >
>> > > > c:\xampp\htdocs\madeiraint\mobile\madeiraint>
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > ----------------------------
>> > > > Igor Costa
>> > > > www.igorcosta.com
>> > > > www.igorcosta.org
>> > > >
>> > > >
>> > > > On Fri, Apr 4, 2014 at 1:28 AM, Joe Bowser <bo...@gmail.com>
>> wrote:
>> > > >
>> > > > > 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 <ig...@gmail.com>
>> > > 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
>> > > > >
>> > > >
>> > >
>> >
>>
>
>

Re: cordova build error

Posted by Igor Costa <ig...@gmail.com>.
This is the outcome

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:\xampp\htdocs\madeiraint\mobile\madeiraint>


It's a very uncommon behavior, since I have latest android 22.6.1 SDK
installed and all setup.

Phonegap 3.3+ worked previously great.



Currently nightly build I have installed and I've tried to re-install again
the module.

I strangely get those http satus code:

npm http 304 https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/uid2/0.0.3
npm http 304 https://registry.npmjs.org/send/0.1.4
npm http 304 https://registry.npmjs.org/cookie/0.1.0
npm http 304 https://registry.npmjs.org/batch/0.5.0
npm http 304 https://registry.npmjs.org/cookie-signature/1.
npm http 304 https://registry.npmjs.org/bytes/0.2.1
npm http 304 https://registry.npmjs.org/qs/0.6.6
npm http 304 https://registry.npmjs.org/fresh/0.2.0
npm http 304 https://registry.npmjs.org/raw-body/1.1.2
npm http 304 https://registry.npmjs.org/methods/0.1.0
npm http 304 https://registry.npmjs.org/buffer-crc32/0.2.1
npm http 304 https://registry.npmjs.org/multiparty/2.2.0
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/negotiator/0.3.0
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/stream-counter
npm http GET https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/stream-counter
npm http 304 https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/inherits


I've then set npm config set ssl-strict=false to make sure it does work,
but it didn't.




----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org


On Fri, Apr 4, 2014 at 1:33 PM, Joe Bowser <bo...@gmail.com> wrote:

> Have you installed any SDKs for Android? What happens when you run the
> Android command?
> On 4 Apr 2014 09:18, "Igor Costa" <ig...@gmail.com> wrote:
>
> > Yep
> >
> > I do, here's
> >
> > C:\Users\riacycle>ant -version
> > Apache Ant(TM) version 1.9.3 compiled on December 23 2013
> >
> >
> >
> >
> > ----------------------------
> > Igor Costa
> > www.igorcosta.com
> > www.igorcosta.org
> >
> >
> > On Fri, Apr 4, 2014 at 12:46 PM, Shazron <sh...@gmail.com> wrote:
> >
> > > Igor,
> > > Do you have ANT installed?
> > >
> > >
> > > On Fri, Apr 4, 2014 at 4:42 AM, Igor Costa <ig...@gmail.com>
> wrote:
> > >
> > > > Hi there Joe.
> > > >
> > > > This is what happens.
> > > >
> > > > c:\xampp\htdocs\madeiraint\mobile\madeiraint>cordova platform add
> > android
> > > > Creating android project...
> > > >
> > > >
> > > >
> > >
> >
> 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
> > > >     at ChildProcess.whenDone
> > > >
> > > >
> > >
> >
> (C:\Users\riacycle\AppData\Roaming\npm\node_modules\cordova\src\superspawn.js:112:23)
> > > >     at ChildProcess.EventEmitter.emit (events.js:98:17)
> > > >     at maybeClose (child_process.js:743:16)
> > > >     at Process.ChildProcess._handle.onexit (child_process.js:810:5)
> > > >
> > > > c:\xampp\htdocs\madeiraint\mobile\madeiraint>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ----------------------------
> > > > Igor Costa
> > > > www.igorcosta.com
> > > > www.igorcosta.org
> > > >
> > > >
> > > > On Fri, Apr 4, 2014 at 1:28 AM, Joe Bowser <bo...@gmail.com>
> wrote:
> > > >
> > > > > 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 <ig...@gmail.com>
> > > 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
> > > > >
> > > >
> > >
> >
>

Re: cordova build error

Posted by Joe Bowser <bo...@gmail.com>.
Have you installed any SDKs for Android? What happens when you run the
Android command?
On 4 Apr 2014 09:18, "Igor Costa" <ig...@gmail.com> wrote:

> Yep
>
> I do, here's
>
> C:\Users\riacycle>ant -version
> Apache Ant(TM) version 1.9.3 compiled on December 23 2013
>
>
>
>
> ----------------------------
> Igor Costa
> www.igorcosta.com
> www.igorcosta.org
>
>
> On Fri, Apr 4, 2014 at 12:46 PM, Shazron <sh...@gmail.com> wrote:
>
> > Igor,
> > Do you have ANT installed?
> >
> >
> > On Fri, Apr 4, 2014 at 4:42 AM, Igor Costa <ig...@gmail.com> wrote:
> >
> > > Hi there Joe.
> > >
> > > This is what happens.
> > >
> > > c:\xampp\htdocs\madeiraint\mobile\madeiraint>cordova platform add
> android
> > > Creating android project...
> > >
> > >
> > >
> >
> 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
> > >     at ChildProcess.whenDone
> > >
> > >
> >
> (C:\Users\riacycle\AppData\Roaming\npm\node_modules\cordova\src\superspawn.js:112:23)
> > >     at ChildProcess.EventEmitter.emit (events.js:98:17)
> > >     at maybeClose (child_process.js:743:16)
> > >     at Process.ChildProcess._handle.onexit (child_process.js:810:5)
> > >
> > > c:\xampp\htdocs\madeiraint\mobile\madeiraint>
> > >
> > >
> > >
> > >
> > >
> > >
> > > ----------------------------
> > > Igor Costa
> > > www.igorcosta.com
> > > www.igorcosta.org
> > >
> > >
> > > On Fri, Apr 4, 2014 at 1:28 AM, Joe Bowser <bo...@gmail.com> wrote:
> > >
> > > > 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 <ig...@gmail.com>
> > 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
> > > >
> > >
> >
>

Re: cordova build error

Posted by Igor Costa <ig...@gmail.com>.
Yep

I do, here's

C:\Users\riacycle>ant -version
Apache Ant(TM) version 1.9.3 compiled on December 23 2013




----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org


On Fri, Apr 4, 2014 at 12:46 PM, Shazron <sh...@gmail.com> wrote:

> Igor,
> Do you have ANT installed?
>
>
> On Fri, Apr 4, 2014 at 4:42 AM, Igor Costa <ig...@gmail.com> wrote:
>
> > Hi there Joe.
> >
> > This is what happens.
> >
> > c:\xampp\htdocs\madeiraint\mobile\madeiraint>cordova platform add android
> > Creating android project...
> >
> >
> >
> 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
> >     at ChildProcess.whenDone
> >
> >
> (C:\Users\riacycle\AppData\Roaming\npm\node_modules\cordova\src\superspawn.js:112:23)
> >     at ChildProcess.EventEmitter.emit (events.js:98:17)
> >     at maybeClose (child_process.js:743:16)
> >     at Process.ChildProcess._handle.onexit (child_process.js:810:5)
> >
> > c:\xampp\htdocs\madeiraint\mobile\madeiraint>
> >
> >
> >
> >
> >
> >
> > ----------------------------
> > Igor Costa
> > www.igorcosta.com
> > www.igorcosta.org
> >
> >
> > On Fri, Apr 4, 2014 at 1:28 AM, Joe Bowser <bo...@gmail.com> wrote:
> >
> > > 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 <ig...@gmail.com>
> 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
> > >
> >
>

Re: cordova build error

Posted by Shazron <sh...@gmail.com>.
Igor,
Do you have ANT installed?


On Fri, Apr 4, 2014 at 4:42 AM, Igor Costa <ig...@gmail.com> wrote:

> Hi there Joe.
>
> This is what happens.
>
> c:\xampp\htdocs\madeiraint\mobile\madeiraint>cordova platform add android
> Creating android project...
>
>
> 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
>     at ChildProcess.whenDone
>
> (C:\Users\riacycle\AppData\Roaming\npm\node_modules\cordova\src\superspawn.js:112:23)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at maybeClose (child_process.js:743:16)
>     at Process.ChildProcess._handle.onexit (child_process.js:810:5)
>
> c:\xampp\htdocs\madeiraint\mobile\madeiraint>
>
>
>
>
>
>
> ----------------------------
> Igor Costa
> www.igorcosta.com
> www.igorcosta.org
>
>
> On Fri, Apr 4, 2014 at 1:28 AM, Joe Bowser <bo...@gmail.com> wrote:
>
> > 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 <ig...@gmail.com> 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
> >
>

Re: cordova build error

Posted by Igor Costa <ig...@gmail.com>.
Hi there Joe.

This is what happens.

c:\xampp\htdocs\madeiraint\mobile\madeiraint>cordova platform add android
Creating android project...

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
    at ChildProcess.whenDone
(C:\Users\riacycle\AppData\Roaming\npm\node_modules\cordova\src\superspawn.js:112:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Process.ChildProcess._handle.onexit (child_process.js:810:5)

c:\xampp\htdocs\madeiraint\mobile\madeiraint>






----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org


On Fri, Apr 4, 2014 at 1:28 AM, Joe Bowser <bo...@gmail.com> wrote:

> 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 <ig...@gmail.com> 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
>

Re: cordova build error

Posted by Joe Bowser <bo...@gmail.com>.
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 <ig...@gmail.com> 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