Skip to content Skip to sidebar Skip to footer

Importing Com.google.maps.mapview Not Working

Trying to do a map example I found here http://codemagician.wordpress.com/2010/05/06/android-google-mapview-tutorial-done-right/ The problem is this code. Specifically, the compil

Solution 1:

Check your target device when you create new project. It should be Google APIs(Google Inc.)-API Level -(whatever you want).

as doc says :"you must have an AVD configured to use the Google APIs target, or be using a development device that includes the Maps library".And make sure you have Internet Permission

<uses-permissionandroid:name="android.permission.INTERNET"/>

and as MapView is not included in the default Android libraries, so you need to specify in AndroidManifest.xml

<uses-libraryandroid:name="com.google.android.maps" />

and here is a good place to start with google maps

are you sure you have selected google api

Post a Comment for "Importing Com.google.maps.mapview Not Working"