我为我的项目生成apk文件,但是当我将它拖放到genymotion时,我看到了这个错误:
an error occurred while deploying the file. install failed conflicting provider
实际上@ WenChao的答案是解决方案,但对我来说这个选项被禁用了。在这种情况下,您需要运行以下命令(为了取消选中Verify apps over USB
选项):
adb shell settings put global verifier_verify_adb_installs 0
确保adb
连接到模拟器(运行adb devices
以查看连接的设备)
如果你想检查选项(你疯了吗?)只需在上面的命令中传递1
而不是0
。
太晚了 ...
但这个Ans确实为其他人提供了一些帮助:)
Eror : an error occurred while deploying the file.
现在拖放工作完美:)