https://blog.csdn.net/qq_20914907/article/details/126148559

https://mp.weixin.qq.com/s?__biz=MzA5MzI3NjE2MA==&mid=2650258143&idx=1&sn=b8655c557320e701a26a2135db2c2d46&chksm=88634bb0bf14c2a69bfda584e360566639c4dbe8dddf414812b2fe2daf70415af367d86403f9&scene=27 (更详细)

https://blog.csdn.net/weixin_30768979/article/details/117690641

https://blog.csdn.net/qq_41179280/article/details/120262889

http://e.betheme.net/article/show-1206365.aspx?action=onClick

8600/8700是什么鬼:http://www.360doc.com/content/12/0121/07/30209837_561393005.shtml

android_server指定端口:-p23445

要点

常见错误整理

配置错误

  • Android11 使用ida 调试so jdb启动时致命错误无法附加到目标vm
    https://bbs.kanxue.com/thread-268276.htm
    解决办法:需要打开DDMS,双击执行android-sdk\tools\monitor.bat.

  • Debugger->attach to process提示Please specify the hostname in Debugger, Process options
    Debugger->Process Options->,将HostName填写localhost,前提是 adb forward tcp:23946 tcp:23946命令已经执行。

  • Bogus or irresponsive remote server
    android_server挂了

  • Input file is a dynamic library, it cannot be run by itself.
    Please specify the host application (Debugger, Process options)
    情况1:开了多个android_server

  • connect: 由于目标计算机积极拒绝,无法连接。when connecting to localhost:23946
    没有执行adb forward tcp:23946 tcp:23946

  • Incompatible debugging server:protocol version is 22,expected 19
    IDA与android_server版本没有匹配上

  • IDA 模拟器调试x86 so linux debugger: duplicate register S
    so库是x86的,android_server也是x86的,把ida的版本从7.5换至7.2这个报错就没有了。

  • Incompatible debugging server:address size is 8 bytes, expected 4

Debug错误

  • 758386ABF4: got SIGILL signal (Illegal instruction) (exc.code 4, tid 22172)
    情况1:cpu的主abi与so对不上

0 条评论

发表回复

您的电子邮箱地址不会被公开。