Googleマップコンソールに既にプロジェクトがある場合は、Android用Places APIのキーを取得するにはどうすればよいですか。 Places APIキーを作成すると既にキーがありますが、このキーを使用するとThis IP, site or mobile application is not authorized to use this API key
Android用Places
0
A
答えて
0
が表示されます。applicationId
がAPIキーを生成するときにアプリの登録時に使用したものと同じであることを確認してください。異なるパッケージ名またはアプリケーションIDはあなたが見ているエラーをレンダリングします。
+0
パッケージ名が正しいです。マップは私のアプリに表示されます。 –
関連する問題
- 1. Androidのgoogle places APIの問題
- 2. Google Places APIの問題AddPlaceRequest - Androidスタジオ
- 3. Google Places API:next_page_tokenエラー
- 4. Placesオートコンプリート "com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable"
- 5. Google Places API Swift
- 6. Google Places API - ペットシェルター
- 7. Foursquare placesデータ
- 8. Google Places API subway_station ,?
- 9. Google Places API:OVER_QUERY_LIMIT
- 10. Google places APIアイコン
- 11. Facebook Places and Rails
- 12. Google Places API
- 13. Google maps geocode places
- 14. Google Places API Android LatLng経由で場所を見つける
- 15. Google Places API - AndroidエンドでJsonをデコードする
- 16. Google Places API場所の種類に応じたAndroidのフィルタ
- 17. Google Places HDAugmentedRealityフレームワークAPI
- 18. RuntimeExecutionException:com.google.android.gms.common.api.ApiException:13:ERROR Places API
- 19. Google Places APIのコード
- 20. Google Places JS API weekday_text
- 21. Google Places APIメール/ウェブサイト
- 22. Google Places APIのフィルタ
- 23. Selenium Google Places Autocomplete Java
- 24. Google Places APIとFacebook Places APIを組み合わせる
- 25. Google Placesの完全検索
- 26. Google Places API - フランス語地域
- 27. Gowalla、Foursquare、Facebook Places combined API
- 28. Google Places API - プレイス詳細リクエスト
- 29. Google Places API - ステータス:モバイルで「REQUEST_DENIED」
- 30. Ruby&Google Places API:空のフィールド
さらに調査したら、キーに*キーの制限*があるかどうか再度確認してください。キーの制限により、どのWebサイト、IPアドレス、またはアプリがこのキーを使用できるかを指定できます。 APIキーを適切に保護するには、[APIキーを安全に使用するためのベストプラクティス](https://support.google.com/googleapi/answer/6310037?hl=ja)をご覧ください。 *注*:[Googleプレイスウェブサービス](https://developers.google.com/places/web-service/get-api-key)を使用している場合は、サーバーチェックを使用してください。この[github](https://github.com/googlesamples/android-play-places)を使用して、APIキーを試してみましょう。お役に立てれば! –