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.
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
C++
66.3%
Kotlin
13.9%
CMake
9.4%
Java
6.2%
C
4.1%
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.
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
C++
66.3%
Kotlin
13.9%
CMake
9.4%
Java
6.2%
C
4.1%