Google Maps V2 shows blank screen on android 2.2

后端 未结 5 1563
别跟我提以往
别跟我提以往 2020-12-06 11:35

I tried following a tutorial on Android Maps V2 Quick Start But when I run the app, a blank map screen is shown. My phone uses android 2.2.1.

5条回答
  •  情话喂你
    2020-12-06 11:51

    I had the same problem but solved it like that. Might be helpful if the above answer doesn't work for you. After I changed my app's package name, map starts not to show up. (it happened after I changed my package name)

    1. Delete the keystore file that you used for previous package
    2. Create a new keystore file
    3. Get SHA1 fingerprint
    4. Go to API Console
    5. Create a new Android App.
    6. Paste your fingerprint
    7. Use the given API Key in your Manifest File

    That worked for me

提交回复
热议问题