调试基本步骤:

1、把ida目录下android_server传到android 目录中

adb push android_server /data/local/tmp/
adb shell 进入模拟器
cd /data/local/tmp/
chmod 755 android_server
./android_server
看到监听端口 23946

2、在windows 控制台下转发window 到模拟器或者手机的端口

adb forward tcp:23946 tcp:23946

3、ida中选择android调试

在Debuggger中的process options的hostname填上localhost
port: 23946


4、在Debuggger中的attach上android所对应的程序就行了

如果不调so,而是调是bin的话
第3部application填上:你bin在模拟器或者手机的路径
Input file:同application
Directory:你bin 在模拟器或者手机的目录路径
有参数的话,参数也填上
然后直接在第4部F9 或者start process

注意:ida6.1才支持android 调试5.5不支持

更多相关文章

  1. android 模拟器键盘控制键 以及 设置模拟器屏幕大小
  2. Android开发傻瓜入门-开发自己的手机短信发送程序
  3. android sim卡 TelephonyManager类:Android手机及Sim卡状态的获取
  4. Android(安卓)开发 — 开机自启动
  5. Android命令大全
  6. android httpclient localhost Connection refused
  7. Android--取得控件在手机屏幕上的位置
  8. Android实现开机自启动无效问题
  9. Android上监听收到的SMS

随机推荐

  1. android中对json数据的解析,并在listview
  2. Android开发者指南(6) ―― AIDL
  3. android仿微信朋友网、悬浮窗、时间轴、
  4. Android通用Adapter使用例子
  5. [置顶] Android EditText/TextView使用Sp
  6. Android(安卓)Studio gradle配置实践
  7. Android 的科普知识
  8. 安卓仿IOS SwitchButton,增加效果体验
  9. 【android】优秀的UI资源网站集合
  10. android 移植 ffmpeg (二) 测试用例