Issues related to the use of Windows under ADBApplicable environment:Under the Windows xp,win7 can be done under this article, WIN8 did not experiment, but the operation settings are approximately the same, in addition to the 4th step, the location of Adb_usb.ini may be different, the other parts can be described in the article to operate.The following issues should be noted for normal use of ADB under Windows:1. Mobile phone to open debug modeIn Sett
1. Show all currently running emulators: ADB devices2. Install the application: ADB install-r application. apk3. Get the files in the emulator: ADB pull 4. Writing files to the simulator: adb push 5. Shell mode to enter simulator:
drive D instead of drive D on Windows.2. Install the APK program to the simulator and run ADB install android123.apk. The installation package named android123will be installed in the androidsimulator. The preceding file is the android123.apk file which needs to be placed in the SDK/tools directory.3. Send the file to emulator and use the
ADB, short for Android debug bridge, is a tool in the android SDK. It can be used to directly manage Android simulators or real Android devices (such as G1 ~ 8 mobile phones ).
Its main functions include:
Run the shell of the device (command line)Manage port ing between simulators and devicesUpload/download files between computers and devicesInstall the local APK software on a simulator or Android device
The client downloads a tool called adbwireless to open the ADB mode port
Set the ADB environment variable on the PC side.
Dual-ended connection to the same wifi, get the connection IP to the client
Win7 cmd/adb connect IP (client) connection machine: ADB connect 192.168.0.11
PC-Side Find Android Device
Because Android is a Linux kernel-based operating system. As a result, shell commands can be executed on Android.[Email protected]:~ $adb Shell[Email protected]:/$ su Get root privilegesLS View folderCD Change DirectoryCat RM Delete Filemkdir Exit shell command0. Start and close the ADB service ADB kill-server//close ADB
settings are not the default developer options, to make ADB need to open it, take my vivo as an example, enter about the mobile page, successive click version number or five, there will be more developer options , click Enter to turn on USB debugging, this way to enter a line of command to see if there is a successful connectionThe display successfully connected to the previous device, the preceding number represents the number of the deviceThe defau
recently contacted a tool (command), what command? is the ADB command, the command is purely a small white mouse, do not understand anything, so only the ADB--help parameters, and then try to use. Today encountered a problem, need to copy a file to the small machine, the small machine can be understood as a mobile phone or tablet similar to the computer, the device is running Android. I don't know how to co
\ganji\build.xml:271:unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jarSolve:A simulator has been opened and cannot be recompiled and must be closed. For Ant2. Error:The connection to ADB are down, and a severe error has occured.Who can solve this problem?Solve:CMD jumps to the SDK tools file pathADB kill-serverand then ADB start-server3. Error:The connection to
Adb:android Debug Bridge Android DebugPath: Adt-bundle directory/sdk/platform-tools/adb.exeCommon ADB commands:ADB devices list of all launched emulatorsADB Start-server launches ADB serviceADB kill-server stop ADB serviceAfter the ADB shell can execute the Linux shell commandadb [–s emulator name]
software installed by the userADB ShellCD/data/APP/Ls
11) install softwareADB install D: \ abc.apk
12) uninstall the softwareADB ShellCD/data/APP/ADB uninstall ADB uninstall-k Note: If the-k parameter is added, the software is uninstalled but the configuration and cache files are retained. Eg,
1. adb/adb-help use 2. ADB devices view devices connected to the PC 3. ADB install example.apk Installer 4. Adb-s emulator-5554 Install example.apk installer to the specified device
interface provided by the Java Virtual Machine, therefore, it must be written in C/C ++. The debugger end does not have such restrictions and can be written in any language, as long as it complies with the jdwp specifications. Jdi (Java debug Interface) includes a Java jdwp debugger implementation (jdi will be in the nextArticleIn JDK, the debugging tool jdb also uses jdi to complete its debugging function. The roles of the jdwp agent described above in debugging are as follows:
In fact, w
the display2. Installing the SoftwareADB installADB install 3. Uninstalling the SoftwareADB uninstall ADB uninstall-k If you add the-K parameter, the software is uninstalled but the configuration and cache files are preserved.4. Enter the shell of the device or simulator:ADB shellFrom the above command, you can enter the device or emulator shell environment, in this Linux shell, you can execute a variety o
Label:In the morning in cmd input adb devices want to query how many VMs are executing, but the execution results appearC:\USERS\ADMINISTRATOR>ADB devicesErrorC:\USERS\ADMINISTRATOR>ADB ShellErrorC:\USERS\ADMINISTRATOR>ADB devicesErrorThe analysis is due to the lack of the ADB
1,ADB only 32-bit, http://dl.dbank.com/c0umekbpxi#.2, download unzip, but execute ADB command when reported./adb:error while loading shared libraries:libncurses.so.5:cannot open shared object file:no such F Ile or DirectoryThis is a missing libncurses.so.5 library, a workaround for installing sudo apt-get install LIB32NCURSES53, re-execute
Android Buffet for the ADB usage scenario
Android Buffet for the ADB usage scenario
Command List
Command List
ADB devices List of all devices
ADB start-server open ADB service
ADB kill-server close
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.