[Bug] Recording fails with java.io.FileNotFoundException error
Tapping the record button constantly brings up this error:
"Es ist ein Fehler aufgetreten: java.io.FileNotFoundException: /storage/emulated/0/Schlichtes Diktiergerät/2022_01_02_18_25_20.m4a: open failed: EACESS (Permission denied)"
Device: SHIFT6m OS: ShiftOS-L - based on Android 8.0.0 App: Version 5.6.2
At launch, permission was granted for the app to both record audio and access photos, media and files. The error continues to occur after deinstalling and reinstalling the app.
Do other apps work well with files? Havent you disabled some system services or maybe have a rooted device with extra permissions security?
Hi @tibbi, thanks for replying so quickly.
Yes, I tried with two other apps where saving attachments/files to the device works fine.
According to the phone's settings the permissions are as follows:
Settings > "apps & permissions" > "app info" > "Simple Voice Recorder"
"permissions": both "microphone" and "storage" are enabled. "all permissions": "microphone: record audio": "this app can record audio anytime over the microphone" "all permissions": "storage: modify or delete sd card contents "all permissions": "storage: read sd card contents"
Settings > "apps & permissions" > "app permissions" > "microphone" > "Simple Voice Recorder": enabled
Settings > "apps & permissions" > app permissions" > "storage" > "Simple Voice Recorder": enabled
The device is not rooted but ShiftOS-L is an OS without Google Services, manufactured by SHIFT (Germany). Therefore it's possible that extra permissions are in place. As far as I know, system services haven't been changed by the user.
If you need further info I'm happy to provide it to you. Just let me know.
retry with 5.8.0
@tibbi Thank you. Installing the APK from GitHub lead to "App could not be installed", so I'll try to install version 5.8.0/5.8.1 from F-Droid when it gets released.
@tibbi Thanks, I tried with 5.8.0 and it brings the same error. Plus this one appears some seconds after: Fehler: java.lang.IllegalStateException
Yes, same error here. Please fix this.
Attached are 2 screenshots with the error messages:
This issue has been resolved. Thanks for fixing this. 😁
App upgraded to release 5.12.2. The error messages "java.io.FileNotFoundException: (...) open failed: EACESS (Permission denied) and "java.lang.IllegalStateException" still appear.
Issue is back. Was fixed for me but now broken with latest release.