- gdb
- gdbserver
- emulator
- open application on emulator
- adb shell
- ps | grep
- copy pid
- gdbserver 0.0.0.0:44444 --attach
- get library file (.so) into your machine for next use
- unzip .apk and copy /lib/arch/... to your ~/Desktop/lib
- on another machine like linux type in terminal: gdb
- target remote :44444
- set solib-search-path ~/Desktop/lib/nameOfyourLib
- info sharedlibrary
- break Java_
- continue