it seems that I got this problem when I try to run the app
I also encountered this error.
This error resolved by updating Android Support Repository.
Another way to solve this error is go to your build.gradle
file and check for warnings related to support version dependencies. then look for hint, make change as it suggested.
In my case this error caused by support dependencies:-
compile 'com.google.android.gms:play-services-maps:9.0.0'
and I changed to :-
compile 'com.google.android.gms:play-services-maps:10.0.0'