Gradle error after update: com.android.tools:sdk-common

前端 未结 2 578
被撕碎了的回忆
被撕碎了的回忆 2021-02-19 04:48

I updated Android Studio to the last version (3.1 Canary 8) and mandatorily the com.android.tools.build:gradle to version 3.1.0-alpha08, but syncing the project I get this error

相关标签:
2条回答
  • 2021-02-19 05:16

    For the sake of the knowledge ;) I fixed it by adding google() above jcenter() in the repositories block as suggested by the official documentation: developer.android.com/studio/build/index.html

    0 讨论(0)
  • 2021-02-19 05:17

    Please go to project gradle file and add google() above jcenter().

    0 讨论(0)
提交回复
热议问题