1.连接指定的模拟器,当时用的Genymotion的模拟器
2.首先查看模拟器列表
Shell
#adb devices
1
#adb devices
3.连接模拟器
Shell
#adb -s devicename shell
1
#adb -s devicename shell
4.将IDA pro中的android_server传入模拟器,直接使用Eclipse中的File Explorer
在Eclipse中的Window->Show View->Others->File Explorer
5.对android_server赋予可执行权限
Shell
#chmod 755 android_server
1
#chmod 755 android_server
6.然后运行android_server
Shell
#./android_server
1
#./android_server
结果运行android_server时报错:android_server not executable: magic 7F45
百度一番,发现Genymotion不支持,需要真机或原生模拟器,于是切换到真机,直接连接手机
擦,小米手机默认不是ROOT,需要对手机进行ROOT才行。醉了~
只好试试看SDK原生的虚拟机,512M内存是硬伤,没办法,凑合用吧
老套路:启动原生模拟器->将android_server拷贝进/data/lo