<service android:name="com.amap.api.location.APSService"></service>
解决方法:需要在导入的jar包,右键,点击Add As Library