cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Costa <igorco...@gmail.com>
Subject cordova build error
Date Fri, 04 Apr 2014 04:10:21 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message