Skip to content Skip to sidebar Skip to footer

Problems Trying To Use Android Mapview Classes

I'm a noob to Android so bear with me and apologies if my post is moronic. Basically, I'm trying to add a mapview to the XML which is causing a few problems, the error I'm getting

Solution 1:

Step #1: Remove your second and third <uses-library> elements.

Step #2: Change your package to not include package as part of the name, to minimize odds of reserved-keyword issues.

Step #3: Remove your <uses-permission android:name="android.permission.LOCATION"/> line, as there is no such permission.

Step #4: Run your application on a device or emulator that has Google Maps installed.

Your real problem is Step #4 -- the first three are just to clean things up a bit. FWIW, I also recommend you follow CamelCase conventions for your class names.

Post a Comment for "Problems Trying To Use Android Mapview Classes"