android studio 升級到3.1.3后總會遇到莫名其妙的錯誤,前幾天剛解決了項目 dependencies報錯的問題。
解決android studio 升級到3.0+之后 項目 dependencies報錯問題
現在又遇到了gradle版本的問題,
Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom'
Caused by: org.gradle.api.resources.ResourceException:Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom'.
……
Caused by: javax.net.ssl.SSLHandshakeException: Server sent an unsupported extension: type_35
解決辦法:Setting->Build,Execution,Deployment->Gradle->Android Studio ,然后把 Enble embedded Maven repository 前面的單選框勾選上。