Skip to content

Repository files navigation

Fishnet

Fishnet is an Android library that dumps Java, native and ANR crashes. The format of the log file is almost the same as the one generated by Android.

Compatibility

  • Android: 6.0 and above
  • Architectures: arm64-v8a, armeabi-v7a, x86, x86_64
  • Log types: Java, Native, ANR

Additional abort message detection

Installation

Maven Central

In build.gradle.kts, add

implementation("io.github.kyant0:fishnet:<version>")

Usage

In the Application class, add the following code,

importcom.kyant.fishnet.FishnetclassApp : Application() {
overridefunonCreate() {
super.onCreate()
val logPath =File(filesDir, "logs").apply { mkdirs() }.absolutePath
Fishnet.init(this, logPath)
}
}

Run application and make a testing crash, the log file will be generated in the path you specified.

Demo

See the app module, the pre-built APK can be found in the GitHub releases.

Build

Clone the repository

git clone https://github.com/Kyant0/Fishnet.git
cd Fishnet
git submodule init
git submodule update
git apply fishnet_external.patch

About

Dump Java, native and ANR crashes

Topics

Resources

Stars

31 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages