安装App时出现以下错误
adb: failed to install D:\doc\workspace\yw\develop\cooperate-baseline\app\build\outputs\apk\***\debug\myApp-debug.apk: Failure [INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.my.test-ZyF9cfhz75765-uVyZCBwQ==: Can't install because provider name com.my.test.provider (in packagecom.my.test) is already used by com.yuedu.app
大致意思是provider冲突了,手机中有个App已经有同样的android:authorities
了,修改一下你要安装的App的provider即可,一般用App包名作为android:authorities的前缀即可