search

Home  >  Q&A  >  body text

android - 试用百度地图sdk,运行结果出来一片空白

版本号:4.4.2

手机型号:三星盖世4

使用的接口/api:baidumapapi_map_v4_0_0

运行结果截图:

报错:

PHP中文网PHP中文网2772 days ago537

reply all(3)I'll reply

  • 黄舟

    黄舟2017-04-17 17:42:35

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

    reply
    0
  • 阿神

    阿神2017-04-17 17:42:35

    Maybe the key is wrong

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 17:42:35

    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...

    reply
    0
  • Cancelreply