INSTALL_FAILED_CONFLICTING_PROVIDER 错误解决方法
16lz
2021-01-23
项目中有两个应用都集成了个推服务,并在androidManifest.xml文件中添加了下面一段代码
android:name="android.support.v4.content.FileProvider" android:authorities="com.dysen.qj.wMeter.fileProvider" android:grantUriPermissions="true" android:exported="false"> android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
现在说一下出错的原因,因为自己的疏忽,将两个应用的android:authorities对应的值写成一样的了,正确的解决方案就是将android:authorities对应的值写成不一样的就可以了。
更多相关文章
- 使用viewpager切换fragment加载两个webview时卡顿
- android studio 不能导包问题解决方案
- Android 10 适配的常见问题及解决方案
- No resource found that matches the given name 'android:Widge
- Android Device Monitor的 “provide the path to the Android S
- Android Studio使用过程中常见问题及解决方案
- android转屏,切换屏幕,横竖屏(onConfigurationChanged)会重新加载 On