NearbyStores Android Application

How to resolve error "failed to resolve play-services-auth" and "failed to resolve play-services-ads

Go to your build.gradle file and add this line  : google() before this command line : jcenter() ,  see the attached picture to know where to find this file :

E.g : 

repositories {        
    google()        
    jcenter()    
}