Error: Could not find com.google.gms:google-services:1.0. when adding google service plugin in build.gradle in android studio

前端 未结 20 952
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 04:12

I am integrating OAuth login for Google+ on my android application, following the tutorial.

According to the tutorial, I should add the Google Service plugin by addi

20条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-03 04:45

    Adding jcenter repository to project level build.gradle helped in my case:

    buildscript {
        repositories {
            jcenter();
            mavenCentral()
        }
    

提交回复
热议问题