Trouble facing with Google map in android

后端 未结 1 558
日久生厌
日久生厌 2021-02-06 19:01

I am on the way of developing a Google map service in android. When i tried the development in my windows system, i got the map apk and installed it in my device. But now I am d

相关标签:
1条回答
  • 2021-02-06 19:52

    This is issue of "apiKey" you write xml file like below.

    <?xml version="1.0" encoding="utf-8"?>
    <com.google.android.maps.MapView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/mapView"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:clickable="true"
        *android:apiKey="05M-7qOGbEjYduPPUdQgJt9ysL8HToawGdvu_ow*"
    /> 
    

    Not use windows pc "apikey". Now you change the "apikey" of linux pc and generate new .apk install it. may be your problem is solved.

    check below : insted of red square use you keystore path which you get from windows.

    enter image description here

    0 讨论(0)
提交回复
热议问题