PictureSelector 使用自定义相机自定义路径前置摄像头拍照后照片获取不到

mnemlml8  于 2022-10-28  发布在  其他
关注(0)|答案(1)|浏览(1228)

Current use version?

当前使用的版本是多少?

v3.10.6

Will this problem occur in demo?

Demo能否复现这问题?

Demo 可以复现

Describe the problem or provide an error log?

描述问题或提供错误log?

描述: 使用自定义,自定义路径,前置摄像头拍照后获取不到照片

fgw7neuy

fgw7neuy1#

W  Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f9d5cec4e40, error=EGL_BAD_MATCH

2022-09-27 13:55:25.727 5077-5077 System.err com.luck.pictureselector W java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.luck.pictureselector/files/Sandbox/IMG_20220927135521670.jpeg: open failed: ENOENT (No such file or directory)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at libcore.io.IoBridge.open(IoBridge.java:452)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at java.io.FileInputStream.(FileInputStream.java:76)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at java.io.FileInputStream.(FileInputStream.java:103)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.utils.MediaUtils.getImageSize(MediaUtils.java:203)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.pictureselector.MainActivity.analyticalSelectResults(MainActivity.java:2319)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.pictureselector.MainActivity.access$1400(MainActivity.java:167)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.pictureselector.MainActivity$1$4.onResult(MainActivity.java:559)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.basic.PictureCommonFragment.onCallBackResult(PictureCommonFragment.java:1841)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.basic.PictureCommonFragment.dispatchUriToFileTransformResult(PictureCommonFragment.java:1688)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.basic.PictureCommonFragment.onResultEvent(PictureCommonFragment.java:1825)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.basic.PictureCommonFragment.dispatchTransformResult(PictureCommonFragment.java:1384)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.PictureOnlyCameraFragment.dispatchCameraMediaResult(PictureOnlyCameraFragment.java:72)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.basic.PictureCommonFragment$8.onSuccess(PictureCommonFragment.java:1171)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.basic.PictureCommonFragment$8.onSuccess(PictureCommonFragment.java:1149)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.luck.picture.lib.thread.PictureThreadUtils$Task$3.run(PictureThreadUtils.java:1237)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at android.os.Handler.handleCallback(Handler.java:739)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at android.os.Handler.dispatchMessage(Handler.java:95)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at android.os.Looper.loop(Looper.java:148)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at android.app.ActivityThread.main(ActivityThread.java:5647)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at java.lang.reflect.Method.invoke(Native Method)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at libcore.io.Posix.open(Native Method)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W at libcore.io.IoBridge.open(IoBridge.java:438)
2022-09-27 13:55:25.737 5077-5077 System.err com.luck.pictureselector W ... 21 more
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 文件名: IMG_20220927135521670.jpeg
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 是否压缩:false
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 压缩:null
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 初始路径:/storage/emulated/0/Android/data/com.luck.pictureselector/files/Sandbox/IMG_20220927135521670.jpeg
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 绝对路径:/storage/emulated/0/Android/data/com.luck.pictureselector/files/Sandbox/IMG_20220927135521670.jpeg
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 是否裁剪:false
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 裁剪路径:null
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 是否开启原图:false
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 原图路径:null
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 沙盒路径:null
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 水印路径:null
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 视频缩略图:null
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 原始宽高: 0x0
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 裁剪宽高: 0x0
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 文件大小: 0B
2022-09-27 13:55:25.737 5077-5077 PictureSelectorTag com.luck.pictureselector I 文件时长: 0

相关问题