AndroidStudio中提示:Couldn‘t find meta-data for provider with authority
场景
在配置应用更新时下载完安装包之后进行安装中的提示:
Couldn't find meta-data for provider with authority 后面跟你的包名
博客:
https://blog.csdn.net/badao_liumang_qizhi
关注公众号
霸道的程序猿
获取编程相关电子书、教程推送与免费下载。
实现
找到AndroidManifest.xml中配置FileProvider的地方
<!--在安卓7.0以上禁止在应用外部公开 file://URI--><providerandroid:name="androidx.core.content.FileProvider"android:authorities="com.bado.你的包名.fileProvider"android:grantUriPermissions="true"android:exported="false"><meta-dataandroid:name="android.support.FILE_PROVIDER_PATHS"android:resource="@xml/file_path" /><!--上面的resource="xxx"指的是一个文件,file_path是文件名--></provider>
将这里的authorities后面的xxx.xx.xx.fileProvider修改为自己的应用对应的包名
AndroidStudio中提示:Couldn‘t find meta-data for provider with authority相关推荐
- AndroidStudio中提示:Didn‘t find class “android.support.v7.widget.RecyclerView“
场景 在Android Studio中使用Recycle View时提示: Didn't find class "android.support.v7.widget.RecyclerView ...
- AndroidStudio中提示:uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in libr
场景 在Android Studio中的app下引用了一个外部library,运行时提示: uses-sdk:minSdkVersion 16 cannot be smaller than versi ...
- AndroidStudio中提示:Failed to resolve: com.github.CymChad:BaseRecyclerViewAdapterHelper:
场景 在Android Studio中通过如下方式 dependencies {implementation 'com.github.CymChad:BaseRecyclerViewAdapterHe ...
- AndroidStudio中提示:android.content.res.Resources NotFoundException: String resource ID 0x
场景 在Android Studio中对TextView调用setText时传入的是Int类型的值,就会提示: android.content.res.Resources NotFoundExcept ...
- AndroidStudio中提示:This project uses AndroidX dependencies, but the ‘android.useAndroidX‘ property is
场景 Android Studio中在新建项目时勾选了 Use legacy android.support licrary 然后在运行项目时提示: This project uses Android ...
- 关于AndroidStudio中提示cannot resolve symble R,但程序可以正常build和run的问题
有的时候我们的java代码中R.是红色的,起初下意识的会认为是R文件没有import或者没有了,但是build succes并且project能够正常run起来.AS会提示cannot resolve ...
- AndroidStudio中更新到最新版本后仍然提示:This version of the Android Support plugin for IntelliJ IDEA (or Android
场景 AndroidStudio中打开新项目提示:This version of the Android Support plugin for IntelliJ IDEA (or Android St ...
- AndroidStudio中将项目运行在模拟器中提示:The currently selected variant “debug“ uses split APKs, but none of the 1
场景 在AndroidStudio中将项目运行在虚拟机中提示: The currently selected variant "debug" uses split APKs, bu ...
- SpringBoot中访问Thymeleaf提示:元素类型 meta 必须由匹配的结束标记终止。
场景 新建SpringBoot项目后整合Thymelaf后访问页面提示: 元素类型 "meta" 必须由匹配的结束标记 "</meta>" 终止. ...
最新文章
- GitHub年度报告:中国开源贡献仅次美国、Python成第二热门语言
- Button的使用(五):从xml中加载
- 【Machine Learning】KNN学习算法与C语言实现
- 《深入解析 MAC OS X iOS 操作系统》PDF 带书签
- asp php java_ASP\JSP\PHP相比各有什么优缺点?
- 51. N 皇后018(回溯法求解)
- java 全局代码区_MyEclipse设置全局编码
- python 时间格式按年月分组_python – 按时间间隔对消息进行分组
- win7 、2008 提示Error 1606 Could Not Access Network Location %SystemDrive%/inetpub/wwwroot/ 的错误解决方法...
- 【基础语法】C语言编写贪吃蛇游戏
- excel表格怎么换行?单元格内换行的4个方法
- 厦门大学计算机科学夏令营过程,厦门大学信息学院计算机系夏令营学生见面会如期召开-厦门大学计算机科学系...
- ui设计师必须了解的13中移动app界面设计的基础知识
- 创业者的噩梦 -商业竞争究竟有多残酷和黑暗
- Google浏览器打开axure产品原型的解决方案
- Flask--Blueprint(蓝图)简单使用笔记
- Windows 安装Docker 打包镜像
- ZIGBEE通讯-7.ZigBee协议栈简介
- (转)web前端开发分享-css,js入门篇
- 2020-08-23
热门文章
- linux——管理系统设备之LVM的管理
- crontab shell 每5秒执行_centos 定时任务按秒执行crontab
- cshrc设置 ic618_.cshrc一般在什么地方
- linux基础命令_Linux命令基础大全
- 计算机课程设计结业感言,课程设计感言
- html5a链接_HTML 5 a 标签
- linux添加用户命令_Linux useradd命令添加新用户图文详解
- Qt QSetting *.ini.lock
- epoll监听文件_【原创】万字长文浅析:Epoll与Java Nio的那些事儿
- c++ 结构体初始化_【干货】c语言基础语法——结构体