androidstudio动态调试
参考地址:https://www.jianshu.com/p/25017f88ab5f
https://blog.csdn.net/linchaolong/article/details/51146492
stidio安装smalidea-0.05.zip插件
打开android kille
复制到任意目录,然后用androidstudio导入
把smali设置成源码目录
设置启动:
添加 remote
随便设置一个端口,一会转发的时候用
找到一个方法,加一个断点(和jeb2动态分析类似)
启动模拟器的app
获取pid进行转发,也可以命令获取pid
adb shell am start -D -n com.fs.sis.two/com.fs.sis.MainActivity
如果启动失败:https://www.cnblogs.com/my-blogs-for-everone/articles/12739510.html
adb kill-server
查看链接 adb devices
adb shell ps