I had this problem and solved it by the following 2 steps:
1) Put the following line in the application (important) element of AndroidManifest.xml file.
<uses-library android:name="com.google.android.maps" />
2) extend MapActivity instead of Activity.
enjoy!
More Related Contents:
- Rotate MapView in Android
- How to draw a path on a map using kml file?
- This app won’t run unless you update Google Play Services (via Bazaar)
- Drawing a line/path on Google Maps
- GoogleService failed to initialize
- How to use multiple MapActivities/MapViews per Android application/process
- One Google Maps key for all developers?
- Android: automatically choose debug/release Maps api key?
- How to handle onTouch event for map in Google Map API v2?
- How do you draw text with a border on a MapView in Android?
- Android: How do I set the zoom level of map view to 1 km radius around my current location?
- How to animate marker in android map api V2?
- Map View draw directions using google Directions API – decoding polylines
- Relocate Google logo in MapView
- How to draw dashed polyline with android google map sdk v2?
- How can I handle map move end using Google Maps for Android V2?
- Android “Hello, MapView” Tutorial – Map Tiles Do Not Load
- How to display popup on tapping overlay in android?
- Importing google-play-service library showing a red X next to this reference android
- How to get city name from latitude and longitude coordinates in Google Maps?
- Android : how to capture a image of GPS location
- Offline mode for Android app using the Google Maps API
- How to implement google maps search by address in Android?
- Couldn’t get connection factory client – fighting with Google Maps
- Google map still blank on real Android device on release apk
- Google Play Services v13 error meta-data in AndroidManifest
- SupportMapFragment does not support AndroidX Fragment
- MarkerClick works but InfoWindowClick does not open ViewModel
- Comparing two locations using their Longitude and Latitude
- Add an Image from url into custom InfoWindow google maps v2