Follow these steps:

  1. Download Frida library. (.so file)

  2. Decompile the apk with apktool

  3. Put frida library on /lib/. If your are in emulator just put library on /lib/x86 .

  4. Add Internet permission to the apk manifest.

  5. Put this code on MainActivity of application.

    const-string v0, "frida-gadget"
    invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V