Skip to content Skip to sidebar Skip to footer

Mapview: Could Not Find Class A Referenced From Method B

There are 3 buttons on the screen! Start, View Map, Stop When I click View Map, it should go to a new screen that shows the map! But something goes wrong and the app is getting for

Solution 1:

You added uses-library as child of the activity element... maybe that's the problem.

This is not a standard package in the Android library. In order to use it, you must add the following XML element, as a child of the application element, in your AndroidManifest.xml file:

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

Solution 2:

You're using startService to start your MapViewer activity. Hope that helps

Post a Comment for "Mapview: Could Not Find Class A Referenced From Method B"