Hierarchy viewer Problems

Source: Internet
Author: User

Time to catch up on some of the android blogposts! Lets start with a simple one: this annoying bug stops you from opening the very usefull hierarchy-viewer.

"Failed to get the ADB version: cannot run program into adb.exe": CreateProcess error = 2, the system cannot find the file specified"

There seem to be several issues here, ranging from installing all sorts of new stuff to reinstalling the SDK, but there's one sollution that has helpt me on 2 different (Windows) machines: adding the new location of the specified adb.exe "to your environment path.

Step 1: locate adb.exe. It wil probably be in the platform-tools Dir (that's new I guess)

Step 2: add the location to your path. In Windows 7:

    • Rightclick on "My computer"
    • Advanced System settings (on the left)
    • Button "environment variables"
    • Select "path" and press "Edit ..."
    • Add your path, e.g. Add in the end: "; C: \ Android \ SDK \ platform-Tools
    • Press all OK buttons.

Win!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.