Android Directory is Inaccessible (version 2.17.6)

Particularly significant is that this post of yours, unlike others I had read, actually gave me the correct directory to set it to: the others would have had me change to something that my phone kept registering as an error.

1 Like

I’m glad it worked out! Thanks for letting us know!

I’m thinking of updating the FAQ on the AnkiDroid Wiki, so knowing what things need more explanation helps!

1 Like

Hello! I am pretty new here but came here since I had the same problem as WinterPFKirin.

Are you (Danika_Dakika) one of the developers of ankidroid? As I have understood (with my limited tech knowledge) there has been a change in the way that apps has to access files from a user’s device. From what I’ve read, instead of having “READ_EXTERNAL_STORAGE” we now have “READ_MEDIA_IMAGES”, “READ_MEDIA_VIDEO”, and “READ_MEDIA_AUDIO”. Is this part of the problem?

I’m not a dev, so I can’t walk you through exactly what permissions changed. I’ll refer you to the Scoped Storage Dev Handbook, and the pages on Storage Migration, and Full Storage Access.

I read through what you wrote to WinterPFKirin. Turns out I had the same problem. I managed to fix it by downloading a parallell Ankidroid from Github and uploading my files to Ankiweb from there. Then I reinstalled regukar Ankidroid and synced it with Ankiweb. I just wanted to say that I am very thankful for your help :). All problems solved!

1 Like

Glad to hear that the instructions are still working for folks!

1 Like

Hey, I had similar problem where I’d open AnkiDroid and it would say something like “Ankidroid is inaccessible please change the directory…” and I tried changing the AnkiDroid directory that you mentioned and I lost all the decks and cards I had. And now the app opens properly but there’s nothing there. Is there a different directory I can change it to in order that I can reaccess the cards and decks previously made?

It’s not as simple as just changing the directory. If you’re not offered the option to automatically migrate, and you don’t already have a current sync available on AnkiWeb, you have to start at the top –

1 Like

Ok thank you very much, does this apply still if my AnkiDroid has seperate decks/cards? I’ve never synced the desktop and mobile versions before so they both have different decks entirely. I can’t find the files in my Androids File folder either that reference the decks so I’m worried that it’ll backup nothing, since the app displays that I have no decks even though there is/was.

If your Desktop profile and Droid install have different collections, you cannot sync them to the same AnkiWeb account. So, yes – all of this applies to you, but if you are using the method of syncing to AnkiWeb, you’ll have to create a separate account.

You can choose – Do you want to:

  • Restore your collection in AnkiDroid first using one of the procedures, and then deal with merging your collections into one?
  • Copy your AnkiDroid collection (from the old location) to your Desktop, set it up as a separate profile, merge your profiles together into one, force a one-way sync to upload that to your AnkiWeb account, and then download that to AnkiDroid (to the new location) as a unified collection?

You won’t be able to see the new storage location in your folders – that’s the security change that you’re dealing with now. And yes, that new location is empty – that’s why you need to go through these steps to give AnkiDroid access to the old location to recover the files.

You can choose – Do you want to:

  • Restore your collection in AnkiDroid first using one of the procedures, and then deal with merging your collections into one?

I’ll choose the first option. I’ve started the process of installing the parallel build and backed up all my Anki files. However I keep getting these error messages when attempting to open the parallel build.


Is this error because I’m supposed to open the parallel build through the Ankidroid app or do I possibly just have not enough storage to install :sweat_smile:. Thanks again for your help. I really appreciate it.

No, it will be a standalone app, and you’ll open it in the regular way

That could be the issue. Although I would think that Android would give a more descriptive error. For your flavor/version of Android, is there any information available about what that error means?

[Are you choosing parallel.B because you already have parallel.A installed?]

Unfortunately it seems like there is no other information provided other than the messages previously stated(the pictures in the earlier post for clarity).

As for the choosing parallel build this is happening when I try to install any of them and from what I gather I should have enough storage space for them unless it’s well over 1-5GB.

Have you researched – for your version of Android – what causes this error and how to correct it? Do you have the setting enabled to allow installs from “other sources” (goes by different names in different Android versions)?

No, the app is quite a bit smaller than that.

Ok got a parallel install. Turns out it was the setting in Ankidroid you mentioned to allow installs from other sources.

After install it brings me to the Ankidroid app opening screen


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.