为什么BDLocationListener没有被调用

百度地图定位bug

这个问题主要有两个因素

1、看这个key。有木有对

<meta-data
    android:name="com.baidu.lbsapi.API_KEY"
    android:value="qn3ZT2xT7yDgbIgkaPooGpDdMjziASZj" />

2、看这个服务有木有添加

<service
    android:name="com.baidu.location.f" android:enabled="true"
    android:process=":remote">
</service>

猜你喜欢

转载自blog.csdn.net/meixi_android/article/details/85007113