PhoneGap中文网

 找回密码
 立即注册
查看: 15476|回复: 1
打印 上一主题 下一主题

dos 输入 cordova platform add android

[复制链接]

4

主题

4

帖子

14

积分

新手上路

Rank: 1

积分
14
跳转到指定楼层
楼主
发表于 2016-11-13 11:43:42 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
请大神指教一下

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

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

使用道具 举报

1

主题

6

帖子

23

积分

新手上路

Rank: 1

积分
23
沙发
发表于 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 11:28 , Processed in 0.073375 second(s), 37 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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