Please stop responding on multiple threads for the same issue. If your
issue is not the same as what the thread is about, then start a new
thread, don't respond on the existing one.
Regarding your issue about not being able to take screenshots, it
looks like an installation problem, most likely you haven't installed
platform tools in SDK Manager. That is why I suggested that you use
the ADT bundle. I'm not sure what you mean by "ids of related android
app", but everything you can do using uiautomatorviewer, you can do
within Eclipse/ADT. The DDMS perspective will automatically open the
result in the UI Automator Viewer view.