看来不少人遇到这个问题,希望高手看一下,我这贴上文字版的,不知道你的完整的错误是不是这样 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 |
Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )
GMT+8, 2024-12-23 06:08 , Processed in 0.032845 second(s), 35 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.