PhoneGap中文网

 找回密码
 立即注册

dos 输入 cordova platform add android

查看数: 15479 | 评论数: 1 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
w8y
发布时间: 2016-11-13 11:43

正文摘要:

请大神指教一下

回复

hwq1119 发表于 2016-12-9 20:14:40
看来不少人遇到这个问题,希望高手看一下,我这贴上文字版的,不知道你的完整的错误是不是这样
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
关闭

站长推荐 上一条 /1 下一条

ionic4视频教程

Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )  

GMT+8, 2024-9-21 13:31 , Processed in 0.067850 second(s), 35 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表