Hi,
The latest update of ankidroid android is not allowing importing screenshot from the clipboard.
It only gives an error saying ‘something went wrong’
I am getting the same error on my tab and mobile right after updating to the latest version.
Please help!
Thanks!
Please paste ‘Debug Info’ (Settings > About > ‘Copy debug info’) below:
AnkiDroid Version = 2.24.0 (ebcf8e0e34921628b9b8a496c66ffd4adbb3705f)
Backend Version = 0.1.64-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)
Android Version = 16 (SDK 36)
ProductFlavor = play
Device Info = LENOVO | Lenovo | TB373FU | TB373FU | TB373FU | mt8792
WebView Info = [com.google.android.webview | 772713703]: Mozilla/5.0 (Linux; Android 16; TB373FU Build/BP2A.250605.031.A3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/147.0.7727.137 Safari/537.36
ACRA UUID = a4c71a4f-73f0-44f8-a9aa-9595eef40be4
FSRS = 5.1.0 (Enabled: false)
Crash Reports Enabled = true
I can’t reproduce the issue.
Which screen is that and what steps did you take to get the error message?
Edit: nevermind, you meant sharing an image from the gallery, not the clipboard.
opened 08:15PM - 01 May 26 UTC
Needs Triage
### Checked for duplicates?
- [x] This issue is not a duplicate
### Does it al… so happen in the desktop version?
- [ ] This bug does not occur in the latest version of Anki Desktop
### What are the steps to reproduce this bug?
Try to share image to AnkiDroid i.e. Add Image and you will get error snackbar and there is exception i.e.
```
internalizeUri() unable to open input stream from content resolver for Uri file:///data/user/0/com.ichi2.anki.debug/cache/PXL_20260414_083401732.jpg (Fix with AI)
java.lang.SecurityException: java/android/unsafe-content-uri-resolution
at com.ichi2.utils.FileUtilKt.openInputStreamSafe(FileUtil.kt:205)
at com.ichi2.utils.FileUtil.internalizeUri(FileUtil.kt:101)
```
### Expected behaviour
Image is added
### Debug info
```text
Latest commit on dev
```
### (Optional) Anything else you want to share?
_No response_
### Research
- [x] I have checked the [manual](https://ankidroid.org/docs/manual.html) and the [FAQ](https://github.com/ankidroid/Anki-Android/wiki/FAQ) and could not find a solution to my issue
- [x] (Optional) I have confirmed the issue is not resolved in the latest alpha release ([instructions](https://docs.ankidroid.org/manual.html#betaTesting))
[Btw, you should enable FSRS from the deck options.]
Hi, thanks for your response.
I was able to import a partial screenshot taken by cropping a screenshot and sharing directly as anki card, before the latest update.
I am still able to import and image from the gallery. But not directly via partial screenshot sharing through clipboard. It says ‘something went wrong’ when I share the partial screenshot as anki card in my mobile and tablet.
P.S. Thanks for the tip about FSRS.
You’re welcome.
This is what I mean by sharing from the clipboard:
What you’re probably referring to is something like this:
It should be fixed when that GitHub issue is closed.
So how can we revert to previous version that didn’t break