-
-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error=13, Permission denied (Android Q) #31
Comments
hello, I have got the same issue with same exception.... any news about the fix ? |
Same here Caused by: java.io.IOException: error=13, Permission denied |
Did anyone find the solution ? stuck at 29 level android.... |
I encountered the same problem as you, have you solved it? |
Not Found solution yet... if anybody found then... share with us... |
From Android Q onwards, you cannot execute binaries in your app's private data directory. Change only on Build.gradle file targetSdkVersion 29 to 28 and Re-Install your app on your device - It is resolved your permission issue for temporary because of the targetSdkVersion 29 is required platform for released build on play store so I suggest to you use this library |
still I am getting this error Caused by: java.io.IOException: error=13, Permission denied |
I solved the same problem as below. |
How you have solved this i am using library suggested by You.. Not Working |
Kindly Tell how u have solved? |
Yes, it has been resolved using https://github.com/tanersener/mobile-ffmpeg
…On Thu, May 27, 2021 at 3:11 PM sammi06 ***@***.***> wrote:
Kindly Tell how u have solved?
Using https://github.com/tanersener/mobile-ffmpeg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2RM3LEBLJCHSN7MCGBQYDTPYHSZANCNFSM4I727RIA>
.
|
Android Q高版本二进制无法运行解决方案: |
Android Q has introduced some breaking changes with folder/file permissions. I get the following error when using the converter on Android:
java.io.IOException: Cannot run program "/data/user/0/com.ltcfastpay.timecard.debug/files/ffmpeg": error=13, Permission denied
I had the same problem with the AndroidAudioRecorder and found that the following method of getting the file path was deprecated in Android Q:
Environment.getExternalStorageDirectory().getPath()
To fix I had to change this to:
this.getActivity().getFilesDir().getAbsolutePath()
So now I am able to record and save as wav but when I try to convert to mp3 I get the permission denied.
I have tried to make changes to the AndroidAudioConverter.java file but its locked in Android Studio which tells me that I probably should not be tampering with it.
The text was updated successfully, but these errors were encountered: