デバッグビルドではGoogle Mapが表示されていたのですが、
リリース用ビルド(別PC)をするとGoogle Mapが表示されなくなり、以下のエラーがLogCatに表示されていました。
2018-11-12 10:08:41.483 11644-12702/? E/Google Maps Android API: In the Google Developer Console (https://console.developers.google.com) Ensure that the "Google Maps Android API v2" is enabled. Ensure that the following Android Key exists: API Key: AIzXXXXXXXX-XXXXXXXXXXXXXXXXXXx-XX Android Application (<cert_fingerprint>;<package_name>): A9:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX;jp.co.xxxx.xxxxxx
エラーメッセージでググるとGoogle ConsoleでAPIを有効にしろということですが、
Maps SDK for Androidは有効になっています。
API Keyも同じものを使っています。
他に何か解決方法はないでしょうか?
◆環境
Target API 26
Min API 21
Compile API 26
Android Studio 3.2.1
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/11/12 08:01