日期:2014-05-16  浏览次数:20692 次

linux android 下进入android shell
进入sdk得platform-tools目录

hang@CAPF:/opt/Android-sdk-linux_x86/platform-tools$ sudo ./adb kill-server
hang@CAPF:/opt/Android-sdk-linux_x86/platform-tools$ sudo ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
0163C5420200F029    device

大功告成,可以在eclipse下使用真机调试了。

进入Android shell的方法:

hang@CAPF:/opt/Android-sdk-linux_x86/platform-tools$ ./adb shell