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

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 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?