Asm.jar not available, error:could not find adb, please install Android SDK and set path to ADB

Source: Internet
Author: User

Error:could not find adb, please install the Android SDK and set path to ADB

Environment: Win7 64bit

Eclipse 1.4.1

Android-sdk_r21-windows


Problem Description: Put Asm.jar in the user directory of C drive, execute Java-jar Asm.jar, jump out as prompted

Cause analysis: The SDK directory settings are incorrect.


1. SDK Environment settings

System environment variables, environment variables, advanced system settings, properties, computers

A) New variable Android

Variable name: ANDROID

Variable value: F:\Android\android-sdk_r21-windows\android-sdk-windows\platform-tools; F:\Android\android-sdk_r21-windows\android-sdk-windows\tools

b) Modify the variable path

Variable Name: path

Variable value: ...;%android%

2. Copy the Java.exe to the C:\Windows\System32

3. Deploy the development project to the real phone or simulator

Right-click the project->run as->android application, select the real phone or simulator, run the program

4. Run in Windows Start Menu: Java-jar Asm.jar


5. Select the real machine in the popup screen

6, in the Windows Start Menu execution: adb shell into the debugging interface






Asm.jar cannot be used, error:could not find adb, install Android SDK and set path to ADB

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.