'Maps SDK for Android v.3.0.0 BETA' 是否可以在没有 Google Play 服务的设备上运行?

Does 'Maps SDK for Android v.3.0.0 BETA' work on devices without Google Play Services?

'Maps SDK for Android v.3.0.0 BETA' 可以在没有 Google Play 服务的设备上运行吗?

来自doc

Version 3.0.0 beta of the Maps SDK for Android is a new implementation with the same API surface as the previous version (...). The main areas of change are as follows:

  • The Maps SDK for Android is now distributed via a standalone static library. Previously, the Maps SDK for Android was made available as part of Google Play services.

我在没有 Google Play 服务的模拟器上关注了 guide 和 运行 这些新地图。该应用程序可以正常打开,但地图视图不显示某个区域的地图。相反,地图视图显示以下文本:如果没有 Google Play 服务,此应用程序将不会 运行。

我的看法是,如果没有 Google Play 服务(例如:Amazon Fire 平板电脑、最新的华为手机等),此静态库将无法在设备上运行

不,Android 的 Maps SDK 3.0.0 测试版无法在没有 Google Play 服务的设备上运行。

虽然它不使用 com.google.android.gms:play-services-maps:17.0.0,但它确实使用以下 Google Play 服务依赖项:

implementation 'com.google.android.gms:play-services-basement:17.2.1'
implementation 'com.google.android.gms:play-services-base:17.2.1'
implementation 'com.google.android.gms:play-services-gcm:17.0.0'
implementation 'com.google.android.gms:play-services-location:17.0.0'

目前和可预见的未来,Google Play 服务仍然是 Maps SDK for Android 的强制依赖项,包括 3.0.0 BETA。一般来说,Android 上的 Google SDK 和软件在设计上取决于 Play 服务。