-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Modern versions of Android don't allow regular access to the Android/data
directory.
As a result, the following instructions are not possible to follow unless you happen to know that and know how to work around it:
* Locate AnkiConnect Android's data folder. By default, it is under: ``` (phone)/Android/data/com.kamwithk.ankiconnectandroid/files/ ``` However, one can verify the location of the folder by going into the settings (gear at the top right corner), and tapping on `Print Local Audio Directory`. The following output specifies that the folder is indeed in the default position: ``` /storage/emulated/0/Android/data/com.kamwithk.ankiconnectandroid/files/ ``` * After locating the two folders, copy `android.db` from the desktop's add-on folder into Ankiconnect Android's data folder.
For most non-rooted devices, I believe the only solution is to enable USB debugging and use adb to copy the file over:
adb push android.db /storage/emulated/0/Android/data/com.kamwithk.ankiconnectandroid/files/
I can see that there's a PR #78 (Allow users to pick local audio source location
) which could resolve this by allowing users to pick a location they do have access to (perhaps worth changing the default location, too), but in the meantime perhaps the above can be added to the troubleshooting steps or added as a warning/note in the readme.
Metadata
Metadata
Assignees
Labels
No labels