Minimal Android API level to run Google Maps Android API v2

后端 未结 4 1926
被撕碎了的回忆
被撕碎了的回忆 2020-12-11 16:13

I have developed a mobile application that uses Google Maps Android API v1, and I plan to port it to the recent Google Maps Android API v2, as recommended by Google.

相关标签:
4条回答
  • 2020-12-11 16:16

    It'a API Level 8 (Froyo), because of the Play Services dependency.

    Also take care that if you are using API levels 8 - 10 you need to use SupportMapFragment with the Android Support Library: http://developer.android.com/tools/extras/support-library.html , because fragments were only added in API level 11.

    0 讨论(0)
  • 2020-12-11 16:17

    As beni said, it works with Android 2.2 and higher version. But you need the android support library for 2.x versions seeing that it use fragments...

    0 讨论(0)
  • 2020-12-11 16:27

    i guess you are trying in Android Emulator,

    or,

    you are trying with Tablet with don't have GPS Feature, Try with GPS enabled device, it should work properly

    0 讨论(0)
  • 2020-12-11 16:30

    The Maps API are bundled with Google Play services and are compatible with Android 2.2 and higher. All devices with Android 8 API level support OpenGL 2.0, so devices with Android 2.1 version can't support Google Maps v2. You can check in the Google Documentation.

    0 讨论(0)
提交回复
热议问题