Functions and variable are not defined when Card Template is big in AnkiDroid

Please search on the Forum before creating one.

In this issue, Anki-xiehanzi - #47, I have edited card template and told user to update card template by copy/paste but due to clipboard size limit, it is convenient to use sync from Anki to AnkiWeb then to AnkiDroid.

But I get errors that methods and variable are not defined, to fix I have updated the card template with this fix for ankidroid.

The card template is working without any changes on Anki and AnkiMobile.
So, what could be possible solution without editing card templates?

AnkiDroid Version = 2.18alpha2-debug (1e483b35bb6ee7393f3af16e041cbc1d0d30bf50)

Backend Version = 0.1.34-anki23.12.1 (23.12.1 1a1d4d5419c6b57ef3baf99c9d2d9cf85d36ae0a)

Android Version = 11 (SDK 30)

ProductFlavor = amazon

Manufacturer = samsung

Model = SM-M307F

Hardware = exynos9611

Webview User Agent = Mozilla/5.0 (Linux; Android 11; SM-M307F Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/121.0.6167.178 Mobile Safari/537.36

ACRA UUID = f98e8a39-c23c-473a-9075-85774eb5894e

Crash Reports Enabled = false

Fixed in 2.18alpha5 & 2.17.5

1 Like

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