Kyant0/Fishnet

Dump Java, native and ANR crashes

31

stars

0

commits

C++

primary language

Nov 24, 2025

updated

crash-reporting
stacktrace

README

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,

import com.kyant.fishnet.Fishnet

class App : Application() {
    override fun onCreate() {
        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

Kyant0/Fishnet

Dump Java, native and ANR crashes

31

stars

0

commits

C++

primary language

Nov 24, 2025

updated

crash-reporting
stacktrace

README

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,

import com.kyant.fishnet.Fishnet

class App : Application() {
    override fun onCreate() {
        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

Languages

C++

66.3%

Kotlin

13.9%

CMake

9.4%

Java

6.2%

C

4.1%