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.
- Android: 6.0 and above
- Architectures: arm64-v8a, armeabi-v7a, x86, x86_64
- Log types: Java, Native, ANR
- FORTIFY
- fdsan (Android 10+)
- Scudo error (Android 11+)
- GWP-ASan (Android 14 +)
- MTE (Android 14 QPR3 +)
In build.gradle.kts, add
implementation("io.github.kyant0:fishnet:<version>")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.
See the app module,
the pre-built APK can be found in the GitHub releases.
git clone https://github.com/Kyant0/Fishnet.git
cd Fishnet
git submodule init
git submodule update
git apply fishnet_external.patch