android - fail to install app on my device receiving INSTAL_FAILED_CONFLICTING_PROVIDER -
when trying build app using android studio, have faced following error :
after clicking ok, can not unistall app because unistalled it. following error :
$ adb shell pm uninstall com.siritime delete_failed_internal_error error while installing apk
i able run app on device before, few days ago have added push notification ability using gcm , not sure if problem related (i add gcm codes project , customized it) . app run on similature or other devices not on device,
could u please guide me wrong on phone ? have test other solution in different pages did not worked me>> this one...
i did not used provider, should implement 1 ?
the part of manifest added gcm push notification sample code :` />
<service android:name=".peyv.gcm.myinstanceidlistenerservice" android:exported="false"> <intent-filter> <action android:name="com.google.android.gms.iid.instanceid" /> </intent-filter> </service> <service android:name=".peyv.gcm.mygcmlistenerservice" android:exported="false"> <intent-filter> <action android:name="com.google.android.c2dm.intent.receive" /> </intent-filter> </service> <service android:name=".peyv.gcm.registrationintentservice" android:exported="false"></service>
`
thanks all
dear have found problem myself, don't know if else face or not, share mine solution , hope someone:
i add applicationid gradel
defaultconfig { applicationid "app package name com.example" multidexenabled true minsdkversion 15 targetsdkversion 22 }
thanks all.
Comments
Post a Comment