of the device you just found.
6. Finally, the last step is reached,
Run the following command: adb kill-server and adb devices ,:
Recommended reading:
Hadoop Eclipse plug-in compilation and installation 1.2.0 http://www.linuxidc.com/Linux/2013-07/87428.htm
Hadoop plug-in compilation http://www.linuxidc.com/Linux/2013-04/83295.htm in Eclipse
Hadoop 1.2.1 compile Eclipse plugin http://www.linuxidc.com
1. Run sudo vi/etc/udev/rules. d/51-Android.rules to create the 51-android.rules configuration file.
2. Add an entry in the following data format:
SUBSYSTEM = "usb", ATTR {idVendor} = "xxxx1", ATTR {idProduct} = "xxxx2", MODE = "0600", OWNER = "xxxx3"
3. Enter xxx1, xxx2, and xxx3 based on your device information.
Where,
(1) xxx3 is the user name when you log on to mongout.
(2) how to search for xxx1 and xxx2,
Run the command lsusb to find your usb Device (). My Device entry is: Bus 0
Tags: log wireless ready ADB data Cable Setup successful SDN make linePreparatory work
Computer side to the SDK under the tool Adb.exe configuration into the environment variable
Install the plugin restart IDE and use USB to connect the computer
Open plug-in window and PC command-line window
Formal configuration
Check phone connection by command, serial number
Determine the USB mode connection
View Phone IP
Setting up
the Request command content
For example, to query the ADB server for its internal version number, the client will do the following:
For example, to obtain the internal version number of the adb server, the client performs the following actions:
1. Connect to tcp: localhost: 5037
1. Connect to tcp: localhost: 5037
2. Send the string "000 Chost: version" to the corresponding socket
2. Send the string "
(). I have read a total of 0 comments for 36 times.10:29:15
When you want to use logcat to view the status of one of multiple devices (simulators), or directly install an application on the target device, you must specify the device number.Adb devicesThis command can obtain the serial number of the current device (serialNumber ).For example, a simulator is usually emulator-5554Add the parameter-s You can specify the adb Command target.It is useful whe
SoftwareForwarding Portcopy or copy files from simulator/deviceadb command ListStart shell commandconnect to the database by running sqllite3 from the remote shell sideui/Software test program MonkeyOther shell commandsEnable Logcat loggingusing the Logcat commandfiltering log Outputcontrol log Output formatView available Log buffersView stdout and stderrlogcat Command ListStop adb serviceOverviewAndroid Debuggin
example, in order to query the build number of the ADB server, the client will do the following actions:
The local socket port that is connected to the ADB server for listening tcp:localhost:5037
Send a Service request string "000chost:version" to the corresponding socket above
' Host: ' This prefix is used to indicate that the service request is a host request and is a request to loosen
protocol to implement the "ADB shell" request of the command line client, but of course it will wrap up the input information before sending it to the target device (see COMMANDLINE.C's Interactive_shell ())Remount
Request ADBD to re-mount the device read-only file system to a read-write mode file system. This is usually necessary before performing an "adb sync" or "
Tags: command Daquan IDE Class scree install folder USB adb push EnterHow to use the command:1, unzip the ADB package to the specified folder, including files include:adb.exe,adbwinapi.dll,adbwinusbapi.dll ; 2, open CMD (win+r) into the ADB path, start to execute the ADB command.ADB command set:
Detailed explanation of adb's principle and its total restart, and detailed explanation of adb's principle restart
1. adb (Android Debug Bridge) indicates the android debugging Bridge.
It is a command line tool in the android system that can communicate with android devices or simulators.
ADB is a C/S architecture application, which consists of three parts:
1)
, in order to query the build number of the ADB server, the client will do the following actions:
The local socket port that is connected to the ADB server for listening tcp:localhost:5037
Send a Service request string "000chost:version" to the corresponding socket above
' Host: ' This prefix is used to indicate that the service request is a host request and is a request to loosen up to th
service usage details adb shell dumps YS Package//Show all program information, including activity,receiver adb shell Dumpsys cpuinfo //Display CPU usage information adb shell Dumpsys battery
//Display battery status adb shell dumpsys window //Display window information
before sending it to the target device (see COMMANDLINE.C's Interactive_shell ())RemountRequest ADBD to re-mount the device read-only file system to a read-write mode file system. This is usually necessary before performing an "adb sync" or "adb push" request. This request may fail in some versions because it is not supportedDev:pathOpens a device file and reads and writes to the device through the client
Device management tool: Debug bridge ADB details, debug bridge adb details1. IntroductionADB, short for Android Debug Bridge, is a debugging tool that comes with the Android SDK. It can be used to directly manage Android devices or simulators.Features we mainly use:1) run the shell command of the device.2) Manage the port ing of the simulator or device ??????????
Android debugging Bridge
Http://www.androidin.com/docs/reference/adb.html#sqlite
Android debugging bridge (ADB) is a versatile tool that helps you manage the status of devices or simulators.
You can add ADB using the following methods:
Run shell commands on the device
Manage simulators or devices through port forwa
ObjectiveWelcome everyone I share and recommend useful code Snippets ~ ~StatementWelcome reprint, but please keep the original source of the article:CSDN:http://www.csdn.netrainy season o mo away:http://blog.csdn.net/luckkofBody[Description]How to turn on and off the ADB authentication mechanism (Google adb secure)[Keyword]ADB secure, ro.adb.secure,
phones. It searches for an emulator or phone by scanning an odd number port between 5555-5585, and once the ADB daemon is discovered, it connects through this port. It is necessary to note that each simulator or phone uses a pair of ordered ports, an even number port for the console connection, an odd number port for the ADB connection, for example:
Emulator 1, console:5554
Emulator 1,
remote address of the target Android device. The following example is the command to push the local notepade.apk command to the remote device "/data/local/tmp/" under this directory, and finally through the "LS" command to list the file:
Figure 4-4-12 Push File Example
ADB command-drop-down file to localSometimes we need to download some files from the target Android device to the host side, such as when the system log needs to be analy
stdout and stderr
logcat Command List
Stop ADB Service
ProfileAndroid debugging system is a face to customer service system, including three components:
A client that runs on the computer you are using to develop the program. You can start the client by using the ADB command on the shell side. Other Android tools such
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.