android - 试用百度地图sdk,运行结果出来一片空白
PHP中文网
PHP中文网 2017-04-17 17:40:35
0
3
561

版本号:4.4.2

手机型号:三星盖世4

使用的接口/api:baidumapapi_map_v4_0_0

运行结果截图:

报错:

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
黄舟

The key of Baidu map is wrong, go to Baidu platform to get a new one

阿神

Maybe the key is wrong

左手右手慢动作

The key is wrong, you have to go to Baidu Map Open Platform to apply for the key, and then replace the
<meta-data

under AndroidManifest.xml
        android:name="com.amap.api.v2.apikey"
        android:value="你申请的key" />
        

Link: http://lbs.amap.com/api/andro...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template