Cannot import com.google.android.maps.MapView -


i wanna import

com.google.android.maps.mapview

to project in android studio, prompt error "cannot resolve symbol 'maps'".

class mapoverlay extends com.google.android.maps.overlay {       ....  } 

how solve it? thanks

change compile 'com.google.android.gms:play-services:5.+' in build.gradle compile 'com.google.android.gms:play-services:6.1.11' or use: supportmapfragment
here example: http://www.truiton.com/2013/05/android-supportmapfragment-example/


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -