How to detect an android device whether it supports google maps API

后端 未结 8 1110
别那么骄傲
别那么骄傲 2020-12-02 16:21

I am currently developing an android application uses Google map API.

I am wondering do all android devices support map API, becuase this api is an optinal api and i

8条回答
  •  庸人自扰
    2020-12-02 16:28

    By using adb, To prints all system libraries:

    adb shell cmd package list libraries
    

    If your device supports Google Maps, you'll see this line:

    library:com.google.android.maps
    

提交回复
热议问题