I wrote a Location Service in android . and in AndroidManifest.xml i defined two intent-filters :
<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>
but when I run in Nexus 5x in logcat displays this error :
com.example.user.nlpservice
resolves service com.android.location.service.v3.NetworkLocationProvider
, but has wrong signature , ignoring
What means by wrong signature and how I can fix this problem?