如何解决flutter android arm 64错误

问题描述 投票:0回答:1

我正在尝试在真实设备上运行我的Flutter应用,但它给了我这个错误

无法确定任务':app:compileDebugJavaWithJavac'的依赖关系。

无法解析配置':app:debugCompileClasspath'的所有任务依赖项。

无法解析io.flutter:arm64_v8a_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408。

 Required by:

     project :app

  > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.

     > Could not get resource 'https://dl.google.com/dl/android/maven2/io/flutter/arm64_v8a_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/arm64_v8a_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.pom'.

        > Could not GET 'https://dl.google.com/dl/android/maven2/io/flutter/arm64_v8a_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/arm64_v8a_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.pom'.

           > dl.google.com

  > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.

     > Could not get resource 'https://jcenter.bintray.com/io/flutter/arm64_v8a_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/arm64_v8a_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.pom'.

        > Could not GET 'https://jcenter.bintray.com/io/flutter/arm64_v8a_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/arm64_v8a_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.pom'.

           > jcenter.bintray.com

  > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.

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

        > Could not GET 'http://download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/arm64_v8a_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.pom'.

           > download.flutter.io

  > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.

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

        > Could not GET 'http://download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/arm64_v8a_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.pom'.

           > download.flutter.io

  > Could not resolve io.flutter:arm64_v8a_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.

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

        > Could not GET 'http://download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/arm64_v8a_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.pom'.

           > download.flutter.io

[如果有人知道如何解决,请提供帮助。

flutter dart flutter-layout
1个回答
0
投票
> Could not GET 'http://

建议您的互联网无法正常工作。也许您正在使用VPN?在这种情况下,请将其暂停几分钟。如果不是,那是另一个与互联网相关的问题...

© www.soinside.com 2019 - 2024. All rights reserved.