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