error: resource integer/google_play_services_version (aka app:integer/google_play_services_version) not found
I had the same issue. Add the Play Services library in your app gradle file. implementation 'com.google.android.gms:play-services:9.2.1' or a later version. Then rebuild.