Saturday, February 26, 2011

Running DDMS

Couple of nights..numerous websites..could not understand where it is going wrong and what am I doing wrong. I was unable to take the screen shot of my application from the android device.

All the websites say the same matter, run DDMS.bat(in windows) to capture the screen shots of your device. But when ever I do that, an error message pop's up "Failed to get the adb version: Cannot run program "adb: CreateProcess error=2, The system cannot find the file specified".

However, tonight the problem was nailed down and here is the process
1. Open Eclipse
2. Window -> Open Perspective -> Other -> DDMS

That's all!! Connect your device. Under the device section, the name of your device and the status(online-if connected,offline-if not) will be displayed.

Good Luck.

No comments: