Android gradle Failed to resolve: play-services-basement

  • A+

suddenly gradle is unable to build the same code that was working moments ago ! my project depends on google play service dependencies

it says :

Could not find play-services-basement.aar ( Searched in the following locations:

I think the aar file was removed from google by mistake

Is anyone have any idea, what is going on?


Add google() repository in your build.gradle. And check that google() is before jcenter().


:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: