Closed kik4444 closed 3 hours ago
Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing
Sorry, I missed some pages like these two https://github.com/ankidroid/Anki-Android/issues/16365 https://github.com/ankidroid/Anki-Android/wiki/Full-Storage-Access
Switching to the fdroid version does ask me for full disk access now and I can change the collection directory like I wanted to.
Checked for duplicates?
Does it also happen in the desktop version?
What are the steps to reproduce this bug?
Go to
Settings
->Advanced
->AnkiDroid directory
and change it to/storage/emulated/0/AnkiDroid
. I get an error sayingThe path specified wasn't a valid directory
. The directory does exist and I canExport
my collection to it, meaning that AnkiDroid does have write access to it. I can access the directory through Termux too so I can know its path is/storage/emulated/0/AnkiDroid
.I want to change AnkiDroid's collection directory so I can sync it up with my PC with Syncthing. I can't access AnkiDroid's default directory in
/storage/emulated/0/Android/data/com.ichi2.anki/files/AnkiDroid
Expected behaviour
The directory for AnkiDroid's collection should be changed to the new one.
Debug info
(Optional) Anything else you want to share?
I tried changing the directory to the target one while it's empty and while it contains my
collection.anki2
and some other files. In both cases it didn't work.Research