Android MapView not working

Logcat Output:

[2010-01-09 15:47:19 - HelloMapView]------------------------------
[2010-01-09 15:47:19 - HelloMapView]Android Launch!
[2010-01-09 15:47:19 - HelloMapView]adb is running normally.
[2010-01-09 15:47:19 - HelloMapView]Performing org.example.hellomapview.HelloMapView activity launch
[2010-01-09 15:47:19 - HelloMapView]Failed to find an AVD compatible with target 'Google APIs'.
[2010-01-09 15:47:21 - HelloMapView]Performing org.example.hellomapview.HelloMapView activity launch
[2010-01-09 15:47:22 - HelloMapView]Application already deployed. No need to reinstall.
[2010-01-09 15:47:22 - HelloMapView]Starting activity org.example.hellomapview.HelloMapView on device 
[2010-01-09 15:47:23 - HelloMapView]ActivityManager: Can't dispatch DDM chunk 46454154: no handler defined
[2010-01-09 15:47:23 - HelloMapView]ActivityManager: Can't dispatch DDM chunk 4d505251: no handler defined
[2010-01-09 15:47:23 - HelloMapView]ActivityManager: Starting: Intent { comp={org.example.hellomapview/org.example.hellomapview.HelloMapView} }

When I run the application, it shows the above error. I can not start myMap application. I used the same code that they gave in myMap application. Please help me.

+3
source share
1 answer

The log message Failed to find an AVD compatible with target 'Google APIs'says everything.

You need to create an emulator that includes the Google API (and therefore the Google Maps library).

There is a graphical interface that allows you to manage and create new images of the emulator; just run androidfrom the SDK tools folder.

+4
source

Source: https://habr.com/ru/post/1727852/


All Articles