Open jhui20130703 opened 4 years ago
From Android Q onwards, you cannot execute binaries in your app's private data directory. From the issuetracker: https://issuetracker.google.com/issues/128554619
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
Try adding this line to your Manifest file, inside the application tag:
android:requestLegacyExternalStorage=true
This should solve the Write/Reading permissions problem.
I'm using the targetSdkVersion=30
From Android Q onwards, you cannot execute binaries in your app's private data directory. From the issuetracker: https://issuetracker.google.com/issues/128554619
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
I tried this but its a temporary solution Please suggest a permanent solution for this
The targetSdkVersion<=28 used in the development project before, the audio conversion is normal. Later, I changed targetSdkVersion=29, and running the project found that AMR conversion to MP3 failed. The exception message: java.io.IOException: Cannot run program "/data/user/0/package name/files/ffmpeg": error=13, Permission denied, Please help me with the author and developers. thank you all.
I solved the same problem as below. I solved the problem by using a different library.
Try adding this line to your Manifest file, inside the application tag:
android:requestLegacyExternalStorage=true
This should solve the Write/Reading permissions problem.
I'm using the targetSdkVersion=30
I wrote it like this, but it's useless
The targetSdkVersion<=28 used in the development project before, the audio conversion is normal. Later, I changed targetSdkVersion=29, and running the project found that AMR conversion to MP3 failed. The exception message: java.io.IOException: Cannot run program "/data/user/0/package name/files/ffmpeg": error=13, Permission denied, Please help me with the author and developers. thank you all.