在mac下使用cordova创建apk,出现错误
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not download lint-api.jar (com.android.tools.lint:lint-api:25.2.1)
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.1/lint-api-25.2.1.jar'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.1/lint-api-25.2.1.jar'.
> Connect to akamai.bintray.com:443 [akamai.bintray.com/223.119.205.17] failed: Operation timed out (Connection timed out)
* 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 18.57 secs
Command finished with error code 1: /Users/pengting/iOS/my_mobile_app/platforms/android/gradlew cdvBuildDebug,-b,/Users/pengting/iOS/my_mobile_app/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true
Error: /Users/pengting/iOS/my_mobile_app/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not download lint-api.jar (com.android.tools.lint:lint-api:25.2.1)
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.1/lint-api-25.2.1.jar'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.1/lint-api-25.2.1.jar'.
> Connect to akamai.bintray.com:443 [akamai.bintray.com/223.119.205.17] failed: Operation timed out (Connection timed out)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (/Users/pengting/iOS/my_mobile_app/platforms/android/cordova/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:829:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
bintray.com 这个怎么翻墙都下不了啊