The ADB command cannot be used after SDK manager is upgraded.

Source: Internet
Author: User

After SDK manager is upgraded and several earlier API packages are installed, the following error occurs when you use the "ADB" command again in cmd:

"ADB is neither an internal or external command, nor an executable command.ProgramOr batch files ."

After thinking about nothing in the directory for a long time, I found that I was looking for adb.exe under Android-SDK/tool.

Open Android-SDK/tooldiscovery without the adb.exeprogram, but there is a document name named “adb_has_moved.txt"

Open it and write it into it

"The ADB ToolHas moved to platform-Tools/
If you don't see this directory in your SDK,
Launch the SDK and AVD Manager (execute the android tool)
And install "android SDK platform-Tools"
PleaseAlso update your path environmentVariable
Include the platform-tools/directory, so you can
Execute ADB from any location.
"

Adb.exe is migrated to the platform-tools/directory. You only need to add this directory under the Environment Variable path.

Android SDK is very considerate ~

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.