Monday, March 3, 2014

怎么在actual device上Debug android app

条件:
1. 打开手机,打开它的USB debugging选项
2. 下载对应手机的driver

ADB: Android debug bridge
需要安装这个才行

For google device (i.e. Nexus 5):
1. Download Google USB driver here:   http://developer.android.com/sdk/win-usb.html
2. check device manager->find a device with question mark under Android phone->update driver by the downloaded file

For Samsung device (i.e. Galaxy Tab 2.0):
1. Download OEM driver for Samsung: http://developer.android.com/tools/extras/oem-usb.html
2. Install it
3. You will find ADB is installed under Android phone in device manager


After the installation, debug it now!
In eclipse, right click project->run as Android application/Run configurations



No comments:

Post a Comment