PhoneGap中文网

标题: dos 输入 cordova platform add android [打印本页]

作者: w8y    时间: 2016-11-13 11:43
标题: dos 输入 cordova platform add android
请大神指教一下

)V0J5{1O}VW}~MA(0AFX@SQ.png (13.63 KB, 下载次数: 296)

)V0J5{1O}VW}~MA(0AFX@SQ.png

作者: hwq1119    时间: 2016-12-9 20:14
看来不少人遇到这个问题,希望高手看一下,我这贴上文字版的,不知道你的完整的错误是不是这样
java.net.ConnectException: Connection timed out: connect

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Failed to find Platform SDK with path: platforms;android-24

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 1 mins 56.573 secs
Failed to install 'cordova-plugin-whitelist':Error: cmd: Command failed with exi
t code 1
    at ChildProcess.whenDone (D:\phoneGap\hellomobileword\platforms\android\cord
ova\node_modules\cordova-common\src\superspawn.js:169:23)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:827:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You might n
eed to try adding it again. Error: Error: cmd: Command failed with exit code 1





欢迎光临 PhoneGap中文网 (http://bbs.phonegap100.com/) Powered by Discuz! X3.2