0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 20:03:05 +02:00
AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
Go to file
Arthur Milchior 6b0117bb3e ensure that mTextView is not null
After installing a new version of ankidroid from master and syncing, I got the message

```
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
        at com.ichi2.anki.stats.AnkiStatsTaskHandler$DeckPreviewStatistics.onPostExecute(AnkiStatsTaskHandler.java:275)
        at com.ichi2.anki.stats.AnkiStatsTaskHandler$DeckPreviewStatistics.onPostExecute(AnkiStatsTaskHandler.java:220)
        at android.os.AsyncTask.finish(AsyncTask.java:755)
        at android.os.AsyncTask.access$900(AsyncTask.java:192)
        at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:772)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:237)
        at android.app.ActivityThread.main(ActivityThread.java:8107)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
```

I suspect that it is because collection or the db is empty (normal after a sync. )
2021-04-15 22:54:22 -05:00
.github chore: bump workflow dependencies 2021-04-15 20:58:01 -05:00
.idea/codeStyles Project Formatting: default to 'm' prefix 2021-04-14 12:43:52 -05:00
AnkiDroid ensure that mTextView is not null 2021-04-15 22:54:22 -05:00
annotations Allow JetBrains @Contract annotations 2020-05-14 20:48:36 -05:00
api Dependency updates 20210327 (#8362) 2021-03-27 12:15:46 -05:00
docs Updated strings from Crowdin 2021-04-04 09:29:44 -05:00
gradle/wrapper Update Gradle Wrapper from 6.8.2 to 6.8.3. 2021-02-22 21:01:58 -05:00
lint-rules Lint: Lint rule for use of UIUtils.showSnackbar instead of Snackbar.make (#8625) 2021-04-15 22:44:46 -05:00
tools Import 'Odia (India)' language from CrowdIn 2020-12-27 19:30:09 -05:00
.codecov.yml coverage: disable noisy annotations on PRs 2021-03-27 09:45:48 -05:00
.gitattributes Mark lint baselines as vendored files 2020-05-19 09:32:42 -05:00
.gitignore Ignore android VM image captures 2020-02-09 21:01:51 -05:00
build.gradle Bump gradle from 4.1.2 to 4.1.3 2021-03-19 15:31:02 -05:00
CONTRIBUTING.md Created CONTRIBUTING.md (#8222) 2021-03-15 07:53:28 -05:00
COPYING Add readme and license file back after accidentally deleting 2014-11-10 02:23:41 +09:00
gradle.properties PERF: Enable Gradle File System Watching 2020-10-15 09:26:38 -05:00
gradlew Bump gradle version to 6.6 2020-08-24 17:29:04 -05:00
gradlew.bat Bump gradle version to 6.6 2020-08-24 17:29:04 -05:00
lint-release.xml lint: enable rtl lint rules 2021-04-15 22:47:24 -05:00
lint.gradle Update severity for time related lint violations 2020-08-30 18:24:56 -05:00
README.md Updated the build link from travis to actions page 2021-03-30 16:57:10 -05:00
settings.gradle Add lint checks for new time api 2020-08-25 10:04:26 +02:00

release build Open Collective backers and sponsors commit-activity forks stars contributors license

AnkiDroid

A semi-official port of the open source Anki spaced repetition flashcard system to Android. Memorize anything with AnkiDroid!

Features

  • night mode
  • whiteboard
  • progress widget
  • detailed statistics
  • syncing with AnkiWeb
  • write answers (optional)
  • text-to-speech integration
  • more than 6000 premade decks
  • spaced repetition (supermemo 2 algorithm)
  • supported contents: text, images, sounds, MathJax
  • add cards by intent from other applications like dictionaries

Install

Wiki

View Wiki

Help

Check the user manual and the wiki for usage instructions. See the help page for how to submit a bug report or contact a project member, etc.

Contribute

You can contribute to AnkiDroid by beta testing, translating, or submitting code. See the contribution wiki page for more info.

Join Us On

Credits

Github Contributors

Thanks to these awesome contributors who keep this project going

Sponsors

Backers

Thank you to all our backers! 🙏

Contributors

Our Awesome Team of Contributors

License

GPL-3.0 License
AGPL-3.0 Licence for some part of the back-end