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

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐