Comments (20)
最近相册中 有拍摄按钮的
from pictureselector.
还有如果是7.0系统,记得要在AndroidManifest.xml 配置provider 结点,具体请看github有说明,不然拍照会闪退~
from pictureselector.
我这里点击最近相册里面的拍摄按钮, 报了个错, 然后跳到了选择相册那里。。
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference
from pictureselector.
你引入的是什么版本? 手机系统是多少的?AndroidManifest.xml 配置provider 结点了吗
from pictureselector.
v1.1.7 6.0的小米 provider配置了
from pictureselector.
好的,小米什么机子,我这边调试一下
from pictureselector.
手机型号:MI 4LTE MIUI版本:MIUI 8.1稳定版。
from pictureselector.
看下你AndroidManifest.xml 配置provider 结点
from pictureselector.
from pictureselector.
build.gradle中 有applicationId吗
from pictureselector.
from pictureselector.
我这边测试了几款6.0的小米,没出现问题~但你这款手机我这暂时没有,我在看下吧。
from pictureselector.
好的。 3Q
from pictureselector.
你下了源码吗?如果下了的话,可以在你那边调试一下哟~代码在ImageActivity 第445行,我这边也找下这机子
from pictureselector.
没下,有空再看看把。。。。我记住了。
from pictureselector.
恩。
from pictureselector.
好的,感谢。
from pictureselector.
遇到过1次,不是每次都出现了 回头再遇到的话我发日志到这边
from pictureselector.
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference 所有出现这个错误的,原因是provider未配置,或者provider配置位置错误,遇到请查看
from pictureselector.
必需使用PictureSelector中的xml/file_paths
from pictureselector.
Related Issues (20)
- 华为nova 10闪退 HOT 1
- PermissionConfig getReadPermissionArray 方法 HOT 1
- 大佬们,华为市场要求的同步说明权限用途,你们怎么搞得啊,直接改源码吗 HOT 3
- Fatal Exception: java.lang.IllegalStateException
- fragment_preview.xml中ps_tv_selected控件的相对位置使用了layout_constraintRight_toLeftOf , 导致国际化从右到左排列时, 布局异常, 选中按钮显示不全
- 介于国内市场开始普遍要求进行权限申请说明,本框架最好是加个是否申请权限的开关。 HOT 1
- NullPointerException HOT 1
- 提示 compileSdk 必须要使用33,有什么其他办法吗?
- 请问如何不保存图片到手机上
- 微信样式
- saveBitmapFile用什么方法代替了?
- mergeFolder getString IllegalStateException
- 使用系统播放器预览视频报错
- 自定义相机能支持设置照片比例
- 荣耀50 和 vivo x100等手机打开相机后,相机设置里水印是灰色的,无法开启
- ionic+cordova怎么使用
- 拍照并横竖屏切换时,拍照结束后崩溃 HOT 1
- motorola XT2335手机在拍照裁剪上传图片后闪退
- Failure delivering result ResultInfo to activity : java.lang.NullPointerException
- IllegalStateException fragment销毁重建
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pictureselector.