1,pip下载
可能会一直卡着下载不了,按下面顺序试试。
先下
pip install frida-tools #15.2.2
后下
pip install frida
frida版本去下载相应frida-server
安装的frida版本:需要下载与安装的frida版本对应的frida-server,否则会出错
地址: https://github.com/frida/frida/releases
解压重命名为:frida-server
指定模拟器路径(我的是夜神)
夜神模拟器根目录
链接模拟机
adb connect 127.0.0.1:62001
启动frida服务并连接
端口
adb forward tcp:27042 tcp:27042
adb forward tcp:27043 tcp:27043
之后在启动就下面命令加端口,在模拟器根2目录创建两个cmd。
python 代码测试
# -*- coding: UTF-8 -*-
import frida
device = frida.get_remote_device()
print(device)
session = device.get_frontmost_application()
print(session)
process = device.enumerate_processes()
for i in process:
print(i)
输出
雷电模拟器adb连接时,无root权限
开启root,打开雷电模拟多开器。我标记的地方有个设置键。进去选择其他设置,开启root即可
![在这里插入图片描述](https://img-blog.csdnimg.cn/5aa3db1ac18a4928bba9654b0b641c5a.png
1,解决ADB错误“more than one device and emulator”的方法
https://blog.csdn.net/yuemingxingxing/article/details/86590989
https://blog.csdn.net/m0_63055441/article/details/123691247?
2,adb连接出现device not found问题解决
https://blog.csdn.net/hbdatouerzi/article/details/73771331?