Launching the Google Maps app on Android Emulator

My application uses Google Maps v2. This application runs successfully on an Android device. I tried to run the same application on an Android emulator. The purpose of my emulator Google APIs API Level 18, but the problem here is that the application runs on the emulator, but the map does not draw a fragment of the map, see Image below enter image description here

In logcat, I see the following error

Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above

and the following warning

eglSurfaceAttrib not implemented

I added this feature in the manifest

  <uses-feature
    android:glEsVersion="0x00020000"
    android:required="true" />

Does anyone have an idea how to run this simple application on an emulator?

Thanks in advance.

+4
source share
6 answers

. , .

  • avd

  • , Android SDK, .

    • com.android.vending-20130716
    • com.google.android.gms-20130716
  • apk , , (shift + Right click → ).
    • adb
    • adb install com.android.vending-20130716
    • adb install com.google.android.gms-20130716
  • google-play-services_lib, .
  • .

.:) apk

Google Maps v2 Android

enter image description here

+11

Android 4.4 Google Maps Android, Intel HAXM AVD. adb. , . , . JSON 4.4. 30 , , , . . , JSON ... . YouTube .

1) Google Maps Android Emulator ( ) https://www.youtube.com/watch?v=gT-kORiFRTo 2) Android https://www.youtube.com/watch?v=0MZIYkm3Ezg

!

Brandan

+2

,

: `         

<permission
    android:name="com.example.mapdemo.permission.MAPS_RECEIVE"
    android:protectionLevel="signature"/>
<uses-permission android:name="com.example.mapdemo.permission.MAPS_RECEIVE"/>

<!--

ACCESS_COARSE/FINE_LOCATION        Google Maps Android API v2, .   - >       `

+1

Google Maps v2 Google Play Services, Android. , .

http://javamvp.blogspot.com/2013/06/put-android-maps-v2-work-on-your.html

- , , , api. .

0

Google .

.

, , Bluestack .

http://bluestacks.com/

0
0

All Articles