Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

an error occurred while deploying the file. install failed conflicting provider

I generate apk file for my project but when I drag and drop it to genymotion I see this error:

an error occurred while deploying the file. install failed conflicting provider
like image 973
AndroidDev Avatar asked Apr 03 '16 07:04

AndroidDev


2 Answers

I had same problem, solved it by uncheck Verify apps over USB under Developer settings

enter image description here

like image 119
WenChao Avatar answered Nov 11 '22 08:11

WenChao


Actually @WenChao's answer is the solution, but for me this option was disabled. in this case you need to run following command (in order to uncheck Verify apps over USB option):

adb shell settings put global verifier_verify_adb_installs 0

Make sure adb is connected to emulator (run adb devices to see connected devices)

If you want to check the option (are you crazy?) just pass 1 instead of 0 in above command.

like image 29
Mehdi Dehghani Avatar answered Nov 11 '22 07:11

Mehdi Dehghani