关于frida的异常


一.异常报告

frida.NotSupportedError: unexpected error while attaching to process with pid xxxx

二.解决方法

#首先要重启下 adb
#断开之前的frida
#adb shell
#su root 
#setenforce 0  变为Permissive模式就可以了

#补充
0: 切换成 permissive(宽容模式);
1: 切换成 enforcing(强制模式)