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

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
    

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

    评论

报告相同问题?

悬赏问题

  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题
  • ¥15 Visual Studio问题
  • ¥20 求一个html代码,有偿
  • ¥100 关于使用MATLAB中copularnd函数的问题