Try to add
`` `gradle
compile 'com.google.android.gms:play-services-maps:11.2.0' compile 'com.google.android.gms:play-services-places:11.2.0' compile 'com.google.android.gms:play-services:11.2.0' compile 'com.google.android.gms:play-services-location:11.2.0'
`` `in build.gradle , then you may need to add
`` `gradle
allprojects { repositories { jcenter() maven { url "https://maven.google.com" } }
}
`` ``
finally, Build -> rebuild project , there is a simple demo using the Google Map API & Google Direction API etc. in my github . Hope this helps you.
source share