Re: [Ankidroid] Takoboto list cannot transfer to Ankidroid

494 views
Skip to first unread message

Mike Hardy

unread,
Apr 13, 2018, 4:40:02 PM4/13/18
to anki-a...@googlegroups.com

Have you tried the most recent ankidroid builds on the releases page on github.com? They are labeled alpha but they are very stable right now now and they contain a change that may help with Android 8

If you can still reproduce it with current code I'll dig in as I have an 8.1 device and am trying to track down all the forward compatibility issues (there are a few unfortunately)

-Mike
--
+14157209408 (WhatsApp and US phone)

-----Original Message-----
From: Jasmijn vdG <spinj...@hotmail.com>
To: AnkiDroid <anki-a...@googlegroups.com>
Sent: Fri, 13 Apr 2018 3:43 AM
Subject: [Ankidroid] Takoboto list cannot transfer to Ankidroid

Since a few weeks I have been making Anki lists using Takoboto, a Japanese dictionary app. The app sends lists to Ankidroid using the API function, but since a got a new phone last week I get the error "permission denied" whenever I do this. My previous phone was a Samsung with android 4.4 and I now have a Nokia with android 8. API is turned on in Ankidroid.

Things I tried:
- turning everything off and on again
- allowing all app permissions for Ankidroid and Takoboto

It is not working and I'm a bit desperate for a way to fix this because manually creating Anki lists just takes way too long.

Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
To post to this group, send email to anki-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/5b94d4ec-1194-484a-89d6-67566cb97757%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jasmijn vdG

unread,
Apr 13, 2018, 5:02:20 PM4/13/18
to AnkiDroid
Thanks for the fast reply ^_^ I  just installed the alpha version 2.9alpha19 but sadly it does not make a difference. I still get the same error "permission denied". 


Op vrijdag 13 april 2018 22:40:02 UTC+2 schreef Mike Hardy:

Mike Hardy

unread,
Apr 13, 2018, 6:00:32 PM4/13/18
to anki-a...@googlegroups.com

Well darn. I'm still traveling but I'll put this on my radar

Can you log an issue on github.com with all the details? That would help

Thanks!
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/49feddc8-dfb0-4c64-aa95-8e1018d51268%40googlegroups.com.

axel.m...@gmail.com

unread,
May 2, 2018, 6:50:25 PM5/2/18
to AnkiDroid
Same here. My previous phone was Samsung with Android 4.4, now it is a Nokia with Android 8.1

I can't send any words to Ankidroid since I always get the message "permission denied"

When I go to Settings -> Apps -> Permissions -> Other permissions

I can find the "read and write Ankidroid databases" permission there. I can turn it on for Takoboto (green slider) but when I exit the settings and return to the settings, the slider is grey again. I can just not save that permission for Takoboto, it always turns grey gain.

Any ideas?

Mark Carter

unread,
May 3, 2018, 2:23:57 AM5/3/18
to AnkiDroid
FWIW - Hanping Chinese Dictionary (my app) is exporting to AnkiDroid 2.9alpha19 (via API) without any problems. Tested on Android 6.0.1 (Nexus 5)

Mark Carter

unread,
May 3, 2018, 2:56:35 AM5/3/18
to AnkiDroid
Also working on Android 8.1 (Nexus 6P)

axel.m...@gmail.com

unread,
May 3, 2018, 4:26:56 AM5/3/18
to AnkiDroid
Thanks for that information, Mark. Can you tell me if your dictionary app has the permission to read and write the Ankidroid database?
Settings - Apps - Permissions - Additional Permissions - Read\Write AnkiDroid Database

I just can't set that permission for takoboto since the slider always turns off and grey again once I turn it on and leave the menu.

Mark Carter

unread,
May 3, 2018, 6:37:02 AM5/3/18
to AnkiDroid
Yes, it does have that permission switched on. I can't think why Android would auto-turn-off like that. Maybe the device logs would give a hint. Definitely a question for the takoboto developer.

axel.m...@gmail.com

unread,
May 4, 2018, 10:14:07 AM5/4/18
to AnkiDroid
Thanks for that information. I re-installed the Takoboto app and now the export to Ankidroid is working again :-)

Nevertheless, the permission to interact with the Ankidroid Database still is turned OFF and I can't turn it on. I wonder how Takoboto shall be able to write into the DB without permission. Seems that Android 8.1 is quite buggy. Hope that's not a security problem.

Mike Hardy

unread,
May 4, 2018, 10:54:45 AM5/4/18
to anki-a...@googlegroups.com

That’s fantastic that it is working for you again!

As for Android Oreo - I don’t believe 8.1 to be buggy per se but they have altered permissions (and notifications) in significant ways and its definitely the case AnkiDroid doesn’t handle all of it well yet

-Mike


> On May 4, 2018, at 8:14 AM, axel.m...@gmail.com wrote:
>
> Thanks for that information. I re-installed the Takoboto app and now the export to Ankidroid is working again :-)
>
> Nevertheless, the permission to interact with the Ankidroid Database still is turned OFF and I can't turn it on. I wonder how Takoboto shall be able to write into the DB without permission. Seems that Android 8.1 is quite buggy. Hope that's not a security problem.
>
> --
> You received this message because you are subscribed to the Google Groups "AnkiDroid" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to anki-android...@googlegroups.com.
> To post to this group, send email to anki-a...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/anki-android/91ebe57f-505d-4a0c-9d0b-15da35485098%40googlegroups.com.

Mark Carter

unread,
May 4, 2018, 12:31:30 PM5/4/18
to AnkiDroid
I had a look at the Takoboto (1.4.1-BETA) APK and it uses:

minSdkVersion=10
targetSdkVersion not set, so defaults to minSdkVersion (=10)
compileSdkVersion=23

That targetSdkVersion of 10 could be causing problems. BTW, when I look at the permissions for Takoboto I don't see anything for AnkiDroid unless I go into the "All permissions" screen where it appears as one of the auto-granted permissions like for internet access.

Anyway, on my Nexus 6P (8.1) Takoboto's "Send to Ankidroid" is working fine.
Reply all
Reply to author
Forward
0 new messages