更新时间:2022-04-18 07:10:47
您需要检查以下事项:1.
你在google api console
注册的SHA1指纹是否可以.关于如何找到它,你可以找到它此处2.
生成的api_key
必须与menifest
一致.3.
api控制台中的应用名称必须与strings.xml
中的应用名称一致.4.
meta-data
必须包含在 menifest
中.
There are some things you need to check:1.
Is the SHA1 fingerprint is ok that you have registered in google api console
.For how to find it , you can find it here2.
The generated api_key
must be same with the menifest
.3.
Name of the app in api console must be same with the name of app in strings.xml
.4.
meta-data
must have to be included in menifest
.
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
我建议您遵循此link.这太棒了,您只需 1 小时即可完成映射工作.
I recommend you to follow this link.It is awesome and it will take just 1 hour for you to map working.