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