Use the logcat command
Filter log output
Control log output format
View available log Buffers
View stdout and stderr
Logcat command list
Stop adb Service
Summary
The Android debugging system is a customer service system that consists of three components:
A client that runs on the computer you use to develop
the 5037 port is occupied, resulting in the inability to connect to the device when using the ADB command
Service running on the PC side: its management client connects to the ADB background process on the Android device
After the ADB service starts, Wi
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 forwarding
Copy files from simulators or devices
The following describes the common use of AD
as follows:ADB wait-for-device Shell GetpropIt is necessary to note that these commands do not start the ADB until all the systems start up, so no other commands can be executed until all the systems start up, for example, when the install is used, the Android package needs to be fully booted, for example:ADB wait-for-device Install The above command is only connected to the emulator/device connection on which the
occupied, resulting in the inability to connect to the device when using the ADB command
Service running on the PC side: its management client connects to the ADB background process on the Android device
After the ADB service starts, Windows can find the
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
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
device when using the ADB command
Service running on the PC side: its management client connects to the ADB background process on the Android device
After the ADB service starts, Windows can find the Adb.exe process in Task Manager
The
Android Debugging Bridge (ADB)
Turn from: http://emck.avaw.com/?p=116
The Android Debugging Bridge (ADB) is a versatile tool that can help you manage the status of your device or emulator.
There are several ways to join the ADB: Run the shell command on the device to manage the simulator or device copy from the emulator or device or copy the file out of the port
the device when using the ADB command
Service running on the PC side: its management client connects to the ADB background process on the Android device
After the ADB service starts, Windows can find the Adb.exe process in Task Manager
The
View available Log buffers
View 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
devices through the devices command:
ADB devices
The result of the execution is that ADB outputs the following status information for each device: 1) Serial number (SerialNumber): A string created by ADB to uniquely identify the device, in the format
Offline-not connected or not responding
Device-indicates that the device is connected to
is that when you open the Task Manager, you can see multiple ADB programs, it is recommended to directly end all ADB processes, close eclipse, and then open the command line, input adb kill-service, End ADB and then restart ADB s
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,
.
StartService
Start Service
You can add flag, data and other parameter information.
Broadcast
Send broadcast
You can add flag, data and other parameter information.
Monitor
Start a crash and ANR listener
If you have crash or ANR, the information will be output from the console.
Force-stop
Force stop everything related to this package
Incoming packag
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
Tags: adb server didnt ack cannot bind tcp5037 failed to start DaemWhen we use several different sources of ADB in the system, it is particularly easy to come up with the error described in the title:ADB server is an out of date. The reason for this error is that the port that our ADB is bound to is occupied by other services, or that there are multiple services
."} = = "0bb4", mode= "0666" Save, set permissions under Configuration filesudo chmod a+rx/etc/udev/rules.d/50-android.rules RestartSudo/etc/init.d/udev restart Finally restart the next ADB service, you can (do not configure the environment variable to go to the Android SDK tools directory to execute sudo./adb kill-server./AD
This article was reproduced from: http://blog.csdn.net/happylifer/article/details/7682563Recently because of the need, looked at the source code of the ADB, feel the author is very cow, design is very good, so a little notes, convenient to change the ADB once again can be quickly recalled.ADB Structure and Code analysisI. OverviewAndroid's entire ADB consists of
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 t
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.