1. Execute the command prompt (cmd.exe)
2. Go to your Android SDK platform-tools directory. I had to execute cd c:\Program Files\Android\android-sdk\
3. Check if ADB is present by executing \adb, if you got those data rolled down, ADB is working fine.
4. See if your device is attached by executing \adb devices, You should see your attached devices which look like something like this:
Click to enlarge. |
If no device was attached, you'll receive a message of something like "Waiting for device".
This is also where you can execute the ADB logcat which will make your life easier when debugging your Android App. You can do that by executing \adb logcat
So that's it, you can now run your code from eclipse. :)
For FREE programming tutorials, click the red button below and subscribe! :)
website