2012年9月18日 星期二

[Android] Auto detect target device phone

If you do not find your phone in ADB (Android Device Bridge), you may have some issues needed to check.

1. On the device, go to Settings > Applications > Development and enable USB debugging (on an Android   4.0 device, the setting is located in Settings > Developer options).

2. Check USB driver is installed.

3. Go to the folder where ADB.exe in, e.g, C:\Android\android-sdk\platform-tools.
Type command <adb devices> then it should have your device names list. If not, check USB driver first.

or Try adb commands to restart adb server.

adb kill-server
adb start-server


4. Check Android version of your project. Right click your project->Properties->Android->ProjectBuildTarget. Make sure that it's not newer than your device's version.

沒有留言:

張貼留言