ankidroid / ankidroid/apisample
App crashes on export when AnkiDroid doesn't have Storage permissions
未关闭
- 主要语言
- Java
- 星标
- 25
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Steps to reproduce:
1. Install AnkiDroid but do not run OR remove Storage permissions from existing AnkiDroid app via App Info UI
2. Launch API Sample app
3. Select entry, hit share button, select AnkiDroid Instant-Add
**Expected**: Not sure? Maybe user gets prompted with dialog explaining why Anki cannot be exported to?
**Actual**: App crashes due to unhandled `IllegalStateException` in `AnkiDroidHelper::getDeckId` with message "AnkiDroid database inaccessible. Open AnkiDroid to see what's wrong."
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。