android Android Studio 环境部署

报错:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"

报错:Unable to find Gradle tasks to build: [:]. Build mode: ASSEMBLE. Tests: None.

错误:
A problem occurred configuring root project 'YXingDemo'.

Could not resolve all dependencies for configuration ':classpath'.
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://maven.aliyun.com/nexus/content/groups/public/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.

报错:
Android Gradle plugin version 4.2.2 has an upgrade available. Start the AGP Upgrade Assistant to update this project's AGP version.

posted @ 2023-07-04 17:30  古兴越  阅读(998)  评论(0)    收藏  举报