解决 高德地图 重复定位出现 errorcode 10

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.amap.location">

    <application
        android:allowBackup="true"
        android:label="@string/app_name"
        android:supportsRtl="true"
        >
        <service android:name="com.amap.api.location.APSService"></service>
    </application>

</manifest>

在application中加 <service android:name="com.amap.api.location.APSService"></service>

猜你喜欢

转载自blog.csdn.net/xiexiaotian11/article/details/83686348