The server may not support the client‘s requested TLS protocol versions: (TLSv1.2, TLSv1.3).
【代码】The server may not support the client‘s requested TLS protocol versions: (TLSv1.2, TLSv1.3).
The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. For more on this, please refer to https://docs.gradle.org/8.6/userguide/build_environment.html#sec:gradle_system_properties in the Gradle documentation.
android studio 2024:
1、compileSdk = 35
2、System.setProperty("https.protocols", "TLSv1.2")
3、./gradlew clean
#Tue Nov 19 14:22:55 CST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

更多推荐

所有评论(0)