前置准备条件:
已安装SmaliIdea插件

1.启动设备,确保adb devices能看到设备。
2.adb shell
3.dumpsys window windows | grep -E ‘mCurrentFocus|mFocusedApp’
4.am start -D -n <Packagename>/<MainActivity Name>
5.此时手机提示Wait for Dubugger
5.找到虫子,后面的数字8632(这个数字重启程序会变动)
6.填入Android Studio中。

打开DDMS中
新版 Android Studio 3.5 smali动态调试
填入刚刚记下的数字,点虫子就可以开始调试了。
新版 Android Studio 3.5 smali动态调试

相关文章:

  • 2021-07-20
  • 2022-01-08
  • 2021-05-29
  • 2021-04-18
  • 2022-12-23
  • 2021-10-04
  • 2021-04-09
猜你喜欢
  • 2021-06-29
  • 2021-06-09
  • 2021-05-18
  • 2021-10-26
  • 2021-11-30
相关资源
相似解决方案