夜神模拟器安装frida-server
1、连接夜神模拟器,打开cmd,输入 adb connect 127.0.0.1:62001
2、在输入 adb shell
3、输入 getprop ro.product.cpu.abi,得到x86,需要装x86版本的frida-server
4、下载x86版本的frida-server,并解压(这里建议frida-server版本比操作系统的frida版本低,比如我系统的frida版本是15.1.17,模拟器安装的frida-server-15.0.0)
frida-server 下载地址:https://github.com/frida/frida/releases/tag/15.0.0
5、把frida-server传到模拟器,在cmd执行如下命令:
cd /d F:\android-tool\frida-server-15.0.0
adb push frida-server-15.0.0 /data/local/tmp
adb forward tcp:27042 tcp:27042
adb forward tcp:27043 tcp:27043
adb shell
su
cd /data/local/tmp/
chmod 755 frida-server-15.0.0
./frida-server-15.0.0
成功启动frida-server,如下图: