1. 程式人生 > >解決 高德地圖 重複定位出現 errorcode 10

解決 高德地圖 重複定位出現 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>