Blank GoogleMap on a real Android 2.3 device with Google API (Lv. 17)

后端 未结 5 1701
星月不相逢
星月不相逢 2020-12-06 13:25

Question Description, Please read this first

I am trying to get my simple app which will display user\'s location running on devices from Android 2.3 to Android 4.

5条回答
  •  被撕碎了的回忆
    2020-12-06 14:22

    OK. i think below link will help you somewhat as it also saved me too having this same issue. Though i am not sure as you are not getting any problem inside API level 4.0+ version

    google-maps-v2-shows-blank-screen-on-android-2-2

    Problem may be because of Debug.keystore

    Solution : Make Sure you are debuging your App with the same keystore with which you have created your SHA-1 code for getting yout API key.

    let say you are using Ubantu and opening your Eclipse as root then whenever you will building your app eclipse will use default.keystore inside to run your app in device located in root/.android/debug.keystore so when you are creating your API key you have to make Sure you are using the same Keystore with which you will build you app.

    Hope it will help you.

提交回复
热议问题