Răsfoiți Sursa

add logcat infos

tobiasKaminsky 7 ani în urmă
părinte
comite
617aeb7d19
1 a modificat fișierele cu 25 adăugiri și 0 ștergeri
  1. 25 0
      README.md

+ 25 - 0
README.md

@@ -29,6 +29,31 @@ if you want to join the Github organization just let us know and we’ll add you
 Make sure you read [SETUP.md](https://github.com/nextcloud/android/blob/master/SETUP.md) and [CONTRIBUTING.md](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md) when you start working on this project. Basically: Fork this repository and contribute back using pull requests to the master branch.
 Easy starting points are also reviewing [pull requests](https://github.com/nextcloud/android/pulls) and working on [starter issue](https://github.com/nextcloud/android/issues?q=is%3Aopen+is%3Aissue+label%3A%22starter+issue%22).
 
+### Get debug infos via logcat
+#### With computer
+- connect device via usb
+- open command prompt/terminal
+- adb logcat > logcatOutput.txt to save the output to this file
+
+**Note:** you must have [adb](https://developer.android.com/studio/releases/platform-tools.html) installed first
+
+#### On device (with root)
+- open terminal app (can be enabled in developer options)
+- get root access via "su"
+- enter "logcat -d -f /sdcard/logcatOutput.txt"
+
+**Note:** Your device needs to be rooted for this approach.
+
+#### On device (without root)
+- enable developer options
+  - open about in settings
+  - click _build number_ 7 times
+  - go back to settings
+- enter developer options
+- click _take bug report_
+- select _interactive_ to take a screenshot, or _full_ to get more detail
+- report will be shown in notification bar and can be shared
+
 **Dev version:** [direct download](https://download.nextcloud.com/android/dev/latest.apk) or via [Fdroid](https://f-droid.org/repository/browse/?fdfilter=nextcloud&fdid=com.nextcloud.android.beta)
 
 **License:** [GPLv2](https://github.com/nextcloud/android/blob/master/LICENSE.txt)