调试微信(apkeditor+idea+smalidea)

https://github.com/REAndroid/APKEditor

java -jar .\APKEditor-1.4.2.jar d -i "\path\apk" -o wechat

https://github.com/JesusFreke/smalidea

smalidea安装

开启调试

// 调试模式启动微信
adb shell am start -D -n "com.tencent.mm/.ui.LauncherUI"

// 找到微信pid
adb shell ps | findstr tencent

// 转发调试
adb forward tcp:8700 jdwp:$pid

替代方法:

  1. 启动应用并等待其进入调试状态。
  2. 在 Android Studio 中,点击工具栏的「Attach Debugger to Android Process」按钮(绿色虫子图标)。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注