美文网首页
Android Studio首次创建Fultter后,debug

Android Studio首次创建Fultter后,debug

作者: atmen | 来源:发表于2020-08-11 10:04 被阅读0次

    Android Studio首次创建Fultter后,debug报错记录

    报错信息:

    ```Launching lib\main.dart on Android SDK built for x86 in debug mode...

    Running Gradle task 'assembleDebug'...

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':app:compileDebugKotlin'.

    > Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.

      > Could not download x86_debug.jar (io.flutter:x86_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408)

          > Could not get resource 'http://download.flutter.io/io/flutter/x86_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/x86_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.jar'.

            > Could not GET 'http://117.128.6.36/cache/download.flutter.io/io/flutter/x86_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/x86_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.jar?ich_args2=469-15172408060292_4a4fd95214f9e92d2a125477ffc75a18_10001002_9c896c2adec7f3d7913f518939a83798_8d1af01e118d680a7de369bbc67b99cf'.

                > Connect to 117.128.6.36:80 [/117.128.6.36] failed: Connection timed out: connect

      > Could not download x86_64_debug.jar (io.flutter:x86_64_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408)

          > Could not get resource 'http://download.flutter.io/io/flutter/x86_64_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/x86_64_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.jar'.

            > Could not GET 'http://117.128.6.32/cache/download.flutter.io/io/flutter/x86_64_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/x86_64_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.jar?ich_args2=469-15172417060282_c6379c3b74cbe5c6510bd1dd15ff7877_10001002_9c896c2adec7f3d7913f518939a83798_1648250909497af7556e0012823cd639'.

                > Connect to 117.128.6.32:80 [/117.128.6.32] failed: Connection timed out: connect

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 1m 9s

    Finished with error: Gradle task assembleDebug failed with exit code 1```

    解决方法:

    相关文章

      网友评论

          本文标题:Android Studio首次创建Fultter后,debug

          本文链接:https://www.haomeiwen.com/subject/esnkpxtx.html