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 前面的单选框勾选上。