1
我在android中编写了定位服务。在AndroidManifest.xml中,定义了两个意图过滤器:向Android定制ROM添加位置服务时出错
<service
android:name=".LocationServiceV2"
android:exported="true"
android:permission="android.permission.ACCESS_COARSE_LOCATION">
<intent-filter>
<action android:name="com.android.location.service.v3.NetworkLocationProvider" />
<action android:name="com.android.location.service.v2.NetworkLocationProvider" />
</intent-filter>
<meta-data
android:name="serviceVersion"
android:value="2" />
<meta-data
android:name="serviceIsMultiuser"
android:value="false" />
</service>
但是当我的Nexus 5X在logcat中显示运行这个错误:
com.example.user.nlpservice
解析服务com.android.location.service.v3.NetworkLocationProvider
,但签名错误,忽略 什么手段通过错误的签名和我如何解决这个问题?