gpt4 book ai didi

android - 无法在 Android Studio Preview 3.2-beta 1 中构建我的项目

转载 作者:行者123 更新时间:2023-11-29 02:27:27 26 4
gpt4 key购买 nike

如果我尝试构建我的应用程序,Android Studio 会抛出以下错误。我该如何解决这个错误?任何帮助将不胜感激。

NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))FAILURE: Build failed with an exception.* What went wrong:A problem occurred configuring root project 'ManipalClientApp_NoLogoNew'.> Could not resolve all artifacts for configuration ':classpath'.   > Could not resolve com.android.tools.build:gradle:3.2.0-beta01.     Required by:         project :      > Could not resolve com.android.tools.build:gradle:3.2.0-beta01.         > Could not get resource 'https://maven.google.com/com/android/tools/build/gradle/3.2.0-beta01/gradle-3.2.0-beta01.pom'.            > Could not HEAD 'https://maven.google.com/com/android/tools/build/gradle/3.2.0-beta01/gradle-3.2.0-beta01.pom'. Received status code 407 from server: Proxy Authorization Required      > Could not resolve com.android.tools.build:gradle:3.2.0-beta01.         > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.2.0-beta01/gradle-3.2.0-beta01.pom'.            > Could not HEAD 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.2.0-beta01/gradle-3.2.0-beta01.pom'. Received status code 407 from server: Proxy Authorization Required* 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.orgCONFIGURE FAILED in 0sCould not HEAD 'https://maven.google.com/com/android/tools/build/gradle/3.2.0-beta01/gradle-3.2.0-beta01.pom'. Received status code 407 from server: Proxy Authorization RequiredEnable Gradle 'offline mode' and sync project

最佳答案

尝试安装最新版本的gradle并将其与您的项目同步并重启android studio。

关于android - 无法在 Android Studio Preview 3.2-beta 1 中构建我的项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51418393/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com