smuyyh / ImageSelector

:foggy: Android 图片选择器。充分自由定制,极大程度简化使用,支持图库多选/图片预览/单选/照片裁剪/拍照/自定义图片加载方式/自定义色调/沉浸式状态栏
http://blog.csdn.net/yyh352091626/article/details/52154583
Apache License 2.0
1.6k stars 254 forks source link

华为Mate8 不裁剪拍摄会报空 #117

Closed bertsir closed 6 years ago

bertsir commented 6 years ago

RT

bertsir commented 6 years ago

试了一下 别的机型也会 代码定位到了 if (tempPhotoFile != null) { if (config.needCrop) { crop(tempPhotoFile.getAbsolutePath()); } else { complete(new Image(cropImageFile.getPath(), cropImageFile.getName())); } }

rcj60560 commented 6 years ago

我也遇到了这个问题 跟你一样报空指针,就是这里

rcj60560 commented 6 years ago

@smuyyh 麻烦看到回一下 谢谢

rcj60560 commented 6 years ago

@bertsir 请问你解决了吗 麻烦看到回我一下 谢谢

bertsir commented 6 years ago

我直接改的代码complete(new Image(tempPhotoFile.getPath(), tempPhotoFile.getName()));

bertsir commented 6 years ago

@rcj60560

smuyyh commented 6 years ago

V2.0.3 已解决。