如何解决"The Google Maps Android API Street View service has been disabled for this application"?

How to resolve "The Google Maps Android API Street View service has been disabled for this application"?

当我尝试打开 StreetView

时,Android Studio 出现以下问题
"E/Google Maps Android API: The Google Maps Android API Street View service has been disabled for this application.
 This might be because of an incorrectly configured project, or an invalid API key.
 See the Google API console: https://console.developers.google.com, and information about Obtaining an API key:
 https://developers.google.com/maps/documentation/android-api/signup."

Google 地图 API 在 google 云控制台中启用,google 地图在应用程序中运行良好。

我该怎么办?

如 Google 地图文档所述

With the pay-as-you-go pricing model, the creation of a Street View panorama is no longer charged as a Mobile Native map load. It is charged as a Dynamic Street View (see below).

另请阅读

等详细信息

Street View panoramas and map loads are now charged separately. A dynamic Street View panorama is charged for each instantiation of a panorama object in a Maps JavaScript API, Maps SDK for Android, Maps SDK for iOS application.

等等...

我在控制台上添加了支付方式,效果非常好。

干杯!快乐编码。