Android debug bridge (ADB) is a versatile debugging tool for Android Developers. It is indeed named the same. It builds a bridge between the developer and the target machine.
ADB usage is very simple, as long as you read the SDK documentation about ADB, (android-sdk-linux_86/docs/GUIDE/developing/tools/adb.html), and then a little exercise, basically, you can use
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
We can always see in Android development that the log log content of the program is full of screens, and the information that really makes sense to the developer is submerged in the torrent, leaving developers at a loss and seriously impacting development efficiency. This article introduces several ways to filter adb logcat output in the shell command line.
1, only show the required output (white list)
The easiest thing to do, of course, is to use g
---restore content starts---I. Multiple online devices ADB1. Obtain serial number for all online devices through the ADB devices command.C:\USERS\ADMINISTRATOR>ADB devicesList of devices attachedemulator-5554 Devicesh0a6pl00243 DeviceThe above indicates that there are currently two devices online, the first emulator-5554 is the simulator, and the latter is the real chance sh0a6pl00243.2. Send the
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 ADB, reported./adb:erro
Tags: http io ar sp for strong file on artBrush machine is common, always have to put the brush machine bag on the card, and then shut down three keys together press to recovery again brush, feel uncomfortable, trouble, so research out the ADB call Flash_image brush system partition, all script Windows Script execution, click Mouse on OK. Many posts refer to the problem of using flash_image to brush the system partition to not start, my method is to p
Tags: style using io file art ar problem LinuxRecently 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 devi
Tags: apk mount common Command key event phone T right Mount Ber REM
Common commands
Example
ADB devices
List devices
ADB push/pull(File transfer)
1. adb-s Device name push file on local file device2. adb-s file local file on device name pull devices
one. ADB server didn ' t ACKafter configuring the Android environment, when you run the first program, you encounter the following error:ADB server didn ' t ACK * Failed to start daemon *It is possible that port 5037 is occupied and needs to find the PID that occupies the 5037 (android default) port, which is entered in CMD:Netstat-ano | findstr "5037"Output process:TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 9292 TCP 127.0.0.1:5037 127.0.0.1:49422 establi
When we use the ADB command to operate the phone often error650) this.width=650; "title=" capture. PNG "alt=" wkiom1vww0th1u0zaacr_r4u4ea848.jpg "src=" http://s3.51cto.com/wyfs02/M01/6C/EE/wKiom1VWw0Th1U0zAACr_ R4u4ea848.jpg "/>This error is usually the ADB port (5037) is occupied, resulting in the ADB server can not start, the solution is to see which program oc
Transferred from: Http://www.cnblogs.com/Androider123/p/3848415.html?utm_source=tuicoolDevelop Android program, always need Plug and unplug, USB port is broken, now ADB can be wireless network, link in the same LAN under the Android device1. Link computers and mobile devices to the same wireless network2. Install "ADB wireless" on Android device3. Open the "ADB w
I just installed 64-bit Ubuntu today and cannot use adb. The error is nosuchfileordictionary. It is clear that the adb file exists. Later, I used ldd to view the execution lib of adb and found that the lib running of adb is not supported! Later I thought maybe adb is 32-bit,
1. Install APK (if add-r parameter, keep set data, reinstall FILENAME.APK)ADB install xxx.apkADB install-r xxx.apk2. Uninstall APK ( if the plus-K parameter, to uninstall the software but retain the configuration and cache files )ADB uninstall xxx.apkADB uninstall-k xxx.apk3. View all currently connected emulator devicesADB devices4, to a certain simulator operationAdb-s Simulator number Command5, import fi
1. Displays all the emulators currently running:ADB devices2. Install the application:adb install-r 123.apk3. Get the files in the emulator:adb pull 4. Write the file to the emulator:adb push 5. Enter the shell mode of the simulator:adb Shell6. Unloading apk package: adb shell CD Data/app RM 123.apk Exit ADB uninstall 123.apk adb install-r 123.apk
ArticleDirectory
Overview
Procedure
Supplement
References
[Excerpted from] http://blog.csdn.net/zhenwenxian/archive/2010/09/23/5901350.aspx
How to install the android ADB driver in Linux
Overview
Recently, due to the large number of built-in partners, many Android mobile phones of many manufacturers in my Ubuntu system cannot be correctly identified. After some hard work, I checked the SDK, now we have sorted out the
ADB source code learning
About init_transport_registration FunctionWhen initializing the transport registration system, create a pair of sockpair (transport_registration_send, transport_registration_recv) for asynchronous processing of registration events, and install an asynchronous Event Callback Function transport_registration_recv on transport_registration_func. when you register or delete a transport from the
Document directory
ADB debug SQLite
Development in Linux
After 2.3, the path of the ADB tool in the SDK is changed to platform-tools/, instead of the original tools/
If this path is not added to the path, you must enter the platform-tools path on the terminal. The command execution method is similar to./ADB devices (must have ./);
If you have added export Pa
Android uses adb pull or push to copy the mobile phone file to the computer, copy the mobile phone database to the computer, and copy the computer database to the mobile phone,
Let's talk about the adb command configuration first. If adb is not an internal or external command, it is not a runable program or batch file. Configure Environment Variables
1.
The first is to ensure that there are nets on both sides of the connectionThe second is often said on the Internet 1, adb kill-server2. ADB start-server3. ADB remountHowever, when running adb remount It is possible to promptC:\USERS\A123>ADB server is an out of date. Killing
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.