RavenGluttonous

Results 5 comments of RavenGluttonous

你好,我用你的democompileSdkVersion 25时,项目是没有问题的,但是我自己的项目compileSdkVersion 27,此时第一次打开相机后拍照并裁图后,返回图片为空,以后使用正常;还有一个问题是,拍照后或者选择照片进入裁剪界面,点击返回按钮到相册选择时,左下角相册选择无效,相册集合为空。

startRecord videoPath:/storage/emulated/0/Movies/xyVideos/_VID_1710211924428.mp4, videoFormatWidth:480, videoFormatHeight:640 startRecord videoFormatWidth=480 videoFormatHeight=640 startRecord onVideoError what=528 extra=528 文件权限没有问题,在华为手机可以正常录制(android 10),红米k30报错(Android 12)

------------------------------日志 start------------------------------ start startRecord videoPath=/storage/emulated/0/Movies/xyVideos/_VID_1710214664108.mp4 startRecord videoPath:/storage/emulated/0/Movies/xyVideos/_VID_1710214664108.mp4, videoFormatWidth:480, videoFormatHeight:640 startRecord videoFormatWidth=480 videoFormatHeight=640 startRecord onVideoError what=528 extra=528 stopRecord success startRecord fail 视频保存路径:/storage/emulated/0/Movies/xyVideos/_VID_1710214664108.mp4 addVideoData fail ------------------------------日志 end------------------------------ ```java public void startRecord(String videoPath,...

信息补充:是否因为路径创建为MediaStore,Environment.DIRECTORY_MOVIES方式所创建,导致库没有写入权限。

很抱歉如此麻烦您,我通过 ```java 1. File customDir = new File(getExternalFilesDir(null), "xyVideos"); 2. File customDir = new File("/sdcard/xyVideos"); ``` 等方式创建文件夹,并写入视频文件,依然报相同错误,上述路径如下。 ```java /storage/emulated/0/Android/data/包名/files/xyVideos/VID_1710239597508.mp4 /sdcard/xyVideos/VID_1710239597508.mp4 ```