itkach / aard2-android

Aard2 for Android, a simple dictionary app
GNU General Public License v3.0
425 stars 98 forks source link

Problem with app permession (Samsung galaxy a31) #147

Closed ghost closed 9 months ago

ghost commented 1 year ago

It is not possible to add dictionaries. inability to give the right to access the file system. Screenshot_20220808-014630_Aard 2 Screenshot_20220808-014634_Permission controller

itkach commented 1 year ago

Can you describe what happens when you tap the "+" button in more detail? Operating system's File Chooser should pop up. Permission to access specific files is granted implicitly when user selects those files. The application does not (and cannot as of Android 11) have direct access to the file system, so no such permissions are listed. The error message indicates that it's Android system component that does not have access to the given URI. Is it possible that the file is actually not there, perhaps renamed or moved, or a different SD card is used? If so, then re-opening the dictionary from the new location should work. If a 3rd party app is used to open files instead of OS's native File Chooser, try selecting with OS file chooser instead.