Failed to open google map in android emulator.

In Android emulator, I get below Logcat Error:

03-11 04:44:56.663: ERROR/AndroidRuntime(403): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.map/com.map.MapDemo}: java.lang.ClassNotFoundException: com.map.MapDemo in loader dalvik.system.PathClassLoader[/data/app/com.map-1.apk]

Cannot find com.map package in AndroidManifest.xml

+3
source share
5 answers

check the following things

check if this line is included in the manifest file as a child manifest

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

add below line as child applicationONLY in manifest

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

Next, right-click on your project folder -> properties -> android -> check if you selected the Google API

also check that you created AVD with your Google API. If you need help again, let us know.

0
source

Google, Google API. , API Google .

+2

Jst map.jar inbuild .

C:\androidsdk\\addon_google_apis_google_inc_7\\map.jar eclipse jar. jar map.jar.

. api.

+1

, MapActivity Android, :

<activity android:name="com.map.MapDemo" android:label="MapDemo"/>
0

Check if the google packages were installed in ur eclipse .... If you did not install now, install the google packages by selecting the β€œAndroid SDK and AVD Manager” in the window ... And select the installed packages on the left side then u wil get the packages with on the right side, select third-party packages and install google packages according to ur requirements ...

0
source

All Articles