Simple-Voice-Recorder icon indicating copy to clipboard operation
Simple-Voice-Recorder copied to clipboard

[Bug] Recording fails with java.io.FileNotFoundException error

Open sushidave opened this issue 4 years ago • 10 comments

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.

sushidave avatar Jan 02 '22 17:01 sushidave

Do other apps work well with files? Havent you disabled some system services or maybe have a rooted device with extra permissions security?

tibbi avatar Jan 02 '22 18:01 tibbi

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.

sushidave avatar Jan 02 '22 19:01 sushidave

retry with 5.8.0

tibbi avatar Jun 15 '22 09:06 tibbi

@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.

sushidave avatar Jun 26 '22 13:06 sushidave

@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

sushidave avatar Jun 29 '22 19:06 sushidave

Yes, same error here. Please fix this.

HonestAbe7 avatar Sep 12 '23 01:09 HonestAbe7

Attached are 2 screenshots with the error messages:

1

Screenshot_20230912-155028

HonestAbe7 avatar Sep 12 '23 19:09 HonestAbe7

This issue has been resolved. Thanks for fixing this. 😁

HonestAbe7 avatar Sep 26 '23 14:09 HonestAbe7

App upgraded to release 5.12.2. The error messages "java.io.FileNotFoundException: (...) open failed: EACESS (Permission denied) and "java.lang.IllegalStateException" still appear.

sushidave avatar Sep 26 '23 18:09 sushidave

Issue is back. Was fixed for me but now broken with latest release.

HonestAbe7 avatar Oct 20 '23 15:10 HonestAbe7