android studioにて、アプリ開発をしています。
GoogleMapを利用した地図情報の表示に取り組んでいます。
APIは19に設定し、
<string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">○○○○○○</string></resources>
○○○○○○の部分には取得したキーを入力しました。他に関しては、特にProjectをいじっていないです。
この状態でAVDを表示したところ、本来であれば、経度0度、緯度0度のポイントが表示されたマップが出てくると予想しましたが、下部にGoogleと表示された真っ白な画面が表示されてしまいました。
ログを見るとエラーが表示されていました。
07-14 11:24:33.124 2394-2457/application.com.example.myapplication3 E/b: Authentication failed on the server.
07-14 11:24:33.124 2394-2457/application.com.example.myapplication3 E/Google Maps Android API: Authorization failure. Please see https://developers.google.com/maps/documentation/android-api/start for how to correctly set up the map.
07-14 11:24:33.134 2394-2457/application.com.example.myapplication3 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: AIzaSyA6yELaExpNOu4YWDHoPxXAT7kTGxezpK0
Android Application (<cert_fingerprint>;<package_name>): 52:C1:3E:BC:B0:6C:81:02:56:41:C8:3A:F5:76:9A:CC:EE:B0:6B:01;application.com.example.myapplication3
07-14 11:24:34.174 2394-2454/application.com.example.myapplication3 E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.android.gms.googlecertificates.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/application.com.example.myapplication3-2.apk"],nativeLibraryDirectories=[/data/app-lib/application.com.example.myapplication3-2, /vendor/lib, /system/lib]]
この状態から、まずは地図を表示させたいです。
ちなみに、Androidアプリ開発パーフェクトマスター(2014)金城俊哉著を参考に、アプリ開発を行っています。
回答1件
あなたの回答
tips
プレビュー