Open AsynctaskCoffee opened 4 years ago
It is not working on Android 10 devices. (I have tested with Honor20, Mi9T and Nova5i)
Yes, I am also facing the same issue
@AsynctaskCoffee Did some search and found that its a change in Android 10 and above. Need to add android:requestLegacyExternalStorage="true" to your
https://stackoverflow.com/questions/58379543/cant-create-directory-in-android-10
@balavishnu Thank you for your valuable help. This is the definitive solution, I've solved the problem in the same way. :)
Need to add a fix for the android 10(target SDK 30) in FileUtils class.
@AsynctaskCoffee Did some search and found that its a change in Android 10 and above. Need to add android:requestLegacyExternalStorage="true" to your element in the manifest. More details in the below link
https://stackoverflow.com/questions/58379543/cant-create-directory-in-android-10
android:requestLegacyExternalStorage="true" is ignored when target sdk is 30
@AsynctaskCoffee Did some search and found that its a change in Android 10 and above. Need to add android:requestLegacyExternalStorage="true" to your element in the manifest. More details in the below link https://stackoverflow.com/questions/58379543/cant-create-directory-in-android-10
android:requestLegacyExternalStorage="true" is ignored when target sdk is 30
Look at: https://developer.android.com/about/versions/11/privacy/storage. 🐰
com.kbeanie.imagechooser.exceptions.ChooserException: Error creating directory: /storage/emulated/0/bichooser