pelya / commandergenius

Port of SDL library and several games to the Android OS.
http://libsdl-android.sourceforge.net/
GNU Lesser General Public License v2.1
533 stars 250 forks source link

/sdcard permission denied #122

Open yadavvivek654 opened 3 years ago

yadavvivek654 commented 3 years ago

When I try to to access my internal storage of Android through this app it says SD card permission denied

stephanusminor commented 3 years ago

Same problem occured to me.

yadavvivek654 commented 3 years ago

I have found a solution for this problem Please install a previous version in which the SD card permission is allowed after that you may update through app store to the latest version in this way SD card permission is working on latest version First you have to install this APK file .the link given below after that you may update through play store latest version

https://sourceforge.net/projects/libsdl-android/files/ubuntu/Debian-20.01.07.apk/download

Please mention if you have found this information helpful

1000283 commented 3 years ago

I'm late, but... Installing an apk to work around permissions on an apk seems shady, sorry. Read the documentation on storage, they're getting pickier every version, especially now on Android 10.

What I've done is keep the minSdkVersion at 19 (Kitkat, Android 4.4). Newer versions will pop-up a storage permission dialog on installation, will bitch about the app being built for older devices, but will allow storage on /sdcard. For now.