簡體   English   中英

離子-無法解析com.android.tools.build:gradle:2.2.3

[英]ionic - Could not resolve com.android.tools.build:gradle:2.2.3

嘗試構建ionic android時,我從gradle中收到以下錯誤。 您能幫我解決這個問題嗎? 順便說一句,我還沒有安裝Android Studio。

失敗:構建失敗,發生異常。

    * What went wrong:
    A problem occurred configuring root project 'android'.
    > Could not resolve all dependencies for configuration ':classpath'.
    > Could not resolve com.android.tools.build:gradle:2.2.3.
    Required by:
    project :
    > Could not resolve com.android.tools.build:gradle:2.2.3.
    > Could not get resource
    'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle                             -2.2.3.pom'.
    > Could not GET
    'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle                             -2.2.3.pom'.
    > Permission denied: connect

    * 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 27.452 secs
    Error: cmd: 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 resolve com.android.tools.build:gradle:2.2.3.
    Required by:
    project :
    > Could not resolve com.android.tools.build:gradle:2.2.3.
    > Could not get resource
    'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle                             -2.2.3.pom'.
    > Could not GET
    'https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.3/gradle                             -2.2.3.pom'.
    > Permission denied: connect

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

只需使用VPN即可在網上免費沖浪,而整個系統則使用IPSEC L2P或blob等協議

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM