Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,21 @@ allprojects {
maven { url "https://jitpack.io" }
}
}

// use the "-SNAPSHOT" tag for latest
// more details here: https://jitpack.io/#xuningjack/ANRManager
dependencies {
implementation 'com.github.xuningjack:ANRManager:-SNAPSHOT'
}
```

If your app is using:
```xml
<application
android:label= ...
>
```
In `AndroidManifest.xml` you will need to add: `tools:replace="android:label"` to the `application` section in order to avoid compilation issues (since this library also defines `android:label`)

默认情况下,你在Application的onCreate方法中这样写就可以。

Expand Down