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

解决 Could not resolve com.android.tools.build:gradle:3.1.3

————————————————
版权声明:本文为CSDN博主「风雨同舟jk」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u011799045/article/details/81211517

相关文章:

  • 2021-08-19
  • 2021-04-09
  • 2021-10-03
  • 2021-07-15
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2021-06-16
  • 2021-12-29
  • 2021-12-20
  • 2021-09-01
  • 2021-07-08
相关资源
相似解决方案