Browse Source

Merge pull request #1225 from nextcloud/logcat

Add logcat infos to readme
Mario Đanić 7 years ago
parent
commit
18f9b77abb
1 changed files with 19 additions and 0 deletions
  1. 19 0
      README.md

+ 19 - 0
README.md

@@ -29,6 +29,25 @@ 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.
 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).
 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"
+
+or 
+
+- use [CatLog](https://play.google.com/store/apps/details?id=com.nolanlawson.logcat) or [aLogcat](https://play.google.com/store/apps/details?id=org.jtb.alogcat)
+
+**Note:** Your device needs to be rooted for this approach.
+
 **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)
 **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)
 **License:** [GPLv2](https://github.com/nextcloud/android/blob/master/LICENSE.txt)