UnityCabbage 2019-01-14 11:03 采纳率: 0%
浏览 9735
已结题

flutter Android配置时出现下面问题,死活解决不了,请大佬帮忙。。。。。

  • Error running Gradle: ProcessException: Process "C:\Users\Downloads\fluttermusic\android\gradlew.bat" exited abnormally:

Configure project :app
IOException: https://dl.google.com/android/repository/addons_list-3.xml
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
IOException: https://dl.google.com/android/repository/addons_list-2.xml
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
IOException: https://dl.google.com/android/repository/addons_list-1.xml
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
Failed to download any source lists!
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"

FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\Users\F2846804\Downloads\fluttermusic\android\build.gradle' line: 32

  • What went wrong:
    A problem occurred evaluating root project 'android'.

    A problem occurred configuring project ':app'.
    Failed to find Build Tools revision 28.0.3

  • 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 1s
Command: C:\Users\Downloads\fluttermusic\android\gradlew.bat app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

  • 写回答

2条回答

  • 战在春秋 2019-01-14 15:41
    关注

    您可以尝试清除代理设置,找到如下文件(您电脑里的用户名可能不同):

    C:\Users\Administrator\.gradle\gradle.properties
    

    右键点击,选择一个文本编辑器打开它,找到跟代理设置相关的行,注释或者删除。

    评论

报告相同问题?

悬赏问题

  • ¥100 求数学坐标画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站