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.
您可以尝试清除代理设置,找到如下文件(您电脑里的用户名可能不同):
C:\Users\Administrator\.gradle\gradle.properties
右键点击,选择一个文本编辑器打开它,找到跟代理设置相关的行,注释或者删除。
设置的网络代理有问题
andriod stuio 单独设置http 网络代理