Skip to content

Commit

Permalink
Fix incorrect adb command (darshanparajuli#41)
Browse files Browse the repository at this point in the history
Note: App will be force stopped only if the permission has been granted successfully.
  • Loading branch information
Akilesh-T authored and darshanparajuli committed Jul 13, 2020
1 parent db1d92d commit 8317d30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ A simple app for viewing logs on an android device.
Use ADB to grant `android.permission.READ_LOGS` to LogCatReader.

```sh
adb shell pm grant com.dp.logcatapp android.permission.READ_LOGS
adb am force-stop com.dp.logcatapp
adb shell "pm grant com.dp.logcatapp android.permission.READ_LOGS && am force-stop com.dp.logcatapp"
```

0 comments on commit 8317d30

Please sign in to comment.