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) adb client, running on PC (for DDMS, that is, IDE)
2)
Configure adb environment variables and adb Environment Variables
Reprinted please indicate the source: http://www.cnblogs.com/cnwutianhao/p/6557571.html
Android Developers often use the adb command to push, pull, install, and view databases. Record the adb configuration process for future use.
Before configuring
Connect adb with wifi and adb with wifi
Generally, USB is used to connect a computer to an Android device. However, wifi can also be used to connect to an Android device through a standard TCP/IP connection.
Step 1: Set --- WiFi --- advanced to view the IP address of the current WiFi;
Run the following command:
Complete.
Wifi key display adb cannot c
The following basic commands are commonly used by ADB:
ADB devices List your devices
AAPT dump badging
ADB logcat View Logcat logs
ADB logcat > Path \ file name log stored in the file under the corresponding path
ADB kill-server kill
debugging mode, connect the USB mode first:$ adb tcpip 5555
3.2 adb shell AMAM is activity Manager.This command is used to perform some system actions, such as starting a specified activity, ending a process, sending a broadcast, changing screen properties, and so on. Debugging tool.
instruction
ADB server didn ' t ACK this problem will be annoyed a lot of novice friends, I have just started to do Android when also encountered this problem, but their own Baidu, Google what, do not know how to solve, see a lot of new friends in the group will ask this question, To tell the truth I do not have a solution to this problem of the ultimate method (hundred test lark of the kind, haha), I did not encounter nor serious to treat him, today, is today, I
Android adb and Android adb
Reference: http://blog.csdn.net/veryitman/article/details/6437090
1.Go to shell
Enter DeviceShellAdb shell
2. Install apk
Adb install
3. Copy files from the device to the Local Computer
Adb pull
For example, adb pull/sdcard/360/test.txt d: \ m
* * The processing method when encountering Mount:read only file system or ADB remount:read only file system when using ADB is as follows: The
method described in this article applies to situations where the/system read-only permission (RO) cannot be modified with the Mout command. in
General
, when the/system does not have RW permission, the system can not push, and so on, in general, through the mount
Label: 1. Open the Winows menu, enter the cmd command, click OK, and enter command mode. 2. Enter Command D: (the D here indicates that your SDK is stored under the disk) then enter the CD 3. Then select your SDK path and copy the path. 4. Click cmd on the mouse, select Edit, paste the copied path into the command line Enter.5. Then enter the command adb start-service to open adb.appears, which means that the ADB
Label:First, to get root permissions, to read and write permissions to the fileStep: 1, the phone root;2. Cmd enters the command line to run the ADB shell command (ADB has been configured in the environment variable), at which point the command becomes $ start;3, run the SU command, switch to root permissions, at this time the command becomes the # start;4, run chmod 777 command, followed by the file path,
The tools folder of the SDK contains the android simulator operation's Important Command ADB. ADB is called Android debug Bridge, which serves as the debugging bridge. With this tool, you can manage the status of a device or mobile phone simulator and perform the following operations:
(1) quickly update devices or mobile phone SimulatorsCodeSuch as application
takes a considerable amount of time. Fortunately, there are more and more front-end automation tools. More and more convenient debugging tools are nothing more than a good news for front-end engineers.
In recent years, browser vendors have also released their own RemoteDebugging tools. For example, Opera Mobile can use its cross-device cross-platform desktop developer tool Opera Dragonfly for remote debugging
The DB is the SDK comes with the tool, can realize the bridge function;ADB shell can interact with the mobile phone system, based on the operation of the Andoid Linux systemadb common commands:1. View the deviceADB devicesThis command is to view the currently connected device, the Android device connected to the computer, or the emulator will list the display2. Installing the SoftwareADB install This command installs the specified APK file on the devi
Remote adb in windows and remote adb in windows
Android uses the adb command to remotely install apk
Run cmd to your adb directory, usually under platform-tools.Adb devices list all devices
Adb connect xxx. xxx connect to this device
dedicated to emulator instance connection, Then the data can be forwarded from emulator to the IDE console, and the other is 5555, specifically with ADB daemon connection for back debugging use 14. ADB Shell PS after executing adb shell PS USER PID PPID vsize RSS wchan PC NAME fu0_a349 31658 481 2405608 180692 FFFFFFF
First, the situation description: We are using eclipse development sometimes there is an ADB connection exception, sometimes the console will print out the ADB connect exception For example, the following will appear: [2014-12-18 16:18:26- ] The connection to ADB was down, and a severe error had occured. [2014-12-18 16:18:26- ] You must restart
Question 1: What is ADB?
Question 2: What is the use of ADB?
Question 3: How to Use the ADB tool as the most critical issue?
Q A 1: ADB is called Android debug Bridge, which serves as the debugging bridge. Through ADB, We can deb
Android advanced adb command, android advanced adb
Use the command line to execute the android adb command. The steps are as follows:
1. Find adb in the ADT sdk, as shown below:
2. Run cmd to start the command line and drag the adb executable file into the command line
Jre_home =/home/loginname/JDK directory name/JRE
Export Path = $ java_home/bin: $ jre_home/bin: $ path
Export classpath = $ java_home/lib: $ jre_home/lib: $ classpath
Export Path =/home/loginname/android-sdk-linux_86/tools: $ path
After saving, restart
3. Add the device ID to the current Android debugging environment
Add the device ID of the android terminal to the/home/loginname/. Android file.
4. Update the SDK
[Android update SDK] updates the SDK.
ADB usage problems in Windows
Questions about using ADB in Windows
Applicable environment:
In Windows XP and WIN7, follow the instructions in this article. In WIN8, no experiment is performed, but the operation settings are roughly the same. Except for step 1, the location of adb_usb.ini may be different, other parts can be operated as described in this document.
Note the following when using
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.