最近适配android10,突然遇到一个问题

Failed to resolve: com.android.support:multidex:

Failed to resolve: com.android.support:multidex:

查了网上解决方法,大体就是

allprojects {
    repositories {
        google()
        jcenter()
     }
}

google()放在最前面,但是我的并不起作用

然后,看到buildTools版本不兼容,然后把buildTools版本更新了一下,问题解决!

现在tools->sdkmanager中updates中查看一下buildtools版本,然后在sdk toos中更新

Failed to resolve: com.android.support:multidex:

Failed to resolve: com.android.support:multidex:

相关文章:

  • 2021-07-06
  • 2021-10-01
  • 2021-11-12
  • 2021-11-08
  • 2021-09-29
  • 2021-05-23
  • 2021-06-20
  • 2021-04-26
猜你喜欢
  • 2021-10-28
  • 2022-12-23
  • 2021-09-21
  • 2021-12-10
  • 2022-01-14
  • 2021-10-21
  • 2022-12-23
相关资源
相似解决方案