2016-08-02 16:50:17 +00:00
|
|
|
## Reporting Bugs
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2024-03-22 22:52:36 +00:00
|
|
|
Please file bugs in the [GitHub Issue
|
2016-08-02 16:50:17 +00:00
|
|
|
Tracker](https://github.com/syncthing/syncthing-android/issues). Bugs that
|
|
|
|
are not specific to Syncthing-Android should be reported to the
|
|
|
|
[main project](https://github.com/syncthing/syncthing/issues) instead.
|
|
|
|
Include at least the following in your issue report:
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
- What happened
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
- What did you expect to happen instead of what *did* happen, if it's
|
|
|
|
not crazy obvious
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
- What version of Android, Syncthing and Syncthing-Android you are
|
|
|
|
running
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
- Screenshot if the issue concerns something visible in the GUI
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
- Console log entries, where possible and relevant
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
You can get logs in various ways:
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
- Log window in the app: Settings -> Open Log -> Android Log
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-12-05 05:06:39 +00:00
|
|
|
- Install [adb](http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/),
|
|
|
|
and run `adb logcat`. To see only info about crashes, run `adb logcat -s *:E`.
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
- Using one of the various "logcat apps" on Google Play and F-Droid
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
## Contributing Translations
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
All translations are done via
|
2023-11-08 17:54:44 +00:00
|
|
|
[Hosted Weblate](https://hosted.weblate.org/projects/syncthing/android/). If you
|
2016-08-02 16:50:17 +00:00
|
|
|
wish to contribute to a translation, just head over there and sign up.
|
|
|
|
Before every release, the language resources are updated from the
|
2023-11-08 17:54:44 +00:00
|
|
|
latest info on Weblate.
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
## Contributing Code
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
Every contribution is welcome. If you want to contribute but are unsure
|
|
|
|
where to start, any open issues are fair game!
|
2014-05-31 16:05:25 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
Code should follow the
|
|
|
|
[Android Code Style Guidelines](https://source.android.com/source/code-style.html#java-language-rules),
|
|
|
|
which are used by default in Android Studio.
|
2015-05-05 22:39:12 +00:00
|
|
|
|
2016-08-02 16:50:17 +00:00
|
|
|
Unit tests are available, and can be executed from Android Studio, or from
|
|
|
|
the terminal with `gradle connectedAndroidTest`.
|