Exception when opening file
Closed this issue · 2 comments
fdorothy commented
I'm testing this on an android 27 device and seeing this error when hitting record:
HBRecorderOnError: java.io.FileNotFoundException: /storage/emulated/0/MoviesTee/HD2022-01-11-08-39-50.mp4: open failed: ENOENT (No such file or directory)
Any help is appreciated, thanks!
thanh-nguyen-kim commented
Hi!
Have you allowed the storage permission?
fdorothy commented
It looks like adding AndroidUtils.RequestPermission(AndroidPermission.WRITE_EXTERNAL_STORAGE);
to AndroidUtils.StartRecording
allows for the file to be saved to Movies. Thanks!