Skip to content Skip to sidebar Skip to footer

Permission Denied. Save File To Sd Card On Android Studio

I am trying to simply save a File to my Device. I added the Permission in the Manifest and the app does ask me for permission to access the storage but when I click 'Save File' my

Solution 1:

if you are using Environment.getExternalStorageDirectory() on an API level greater than 29 then it would not work, because starting from API level 29 android made this function deprecated. Hope this would answer your question.


Post a Comment for "Permission Denied. Save File To Sd Card On Android Studio"