Chkbugreport
The use is simple:
1
Java-jar $HOME/downloads/chkbugreport.jar $HOME/tmp/bugreport.txt
You can also add Chkbugreport.jar to the path and use this
1
Chkbugreport Thebugreport.txt
The tool will output an analysis result directory based on your bugreport data bugreport_out.
You can use the following command to obtain Bugreport:
1
Reference article: http://blog.csdn.net/createchance/article/details/51954142
Google has developed the ADB bugreport tool to facilitate Android developers to analyze all the information that the entire system platform or app has been running for some time. Developers can use the ADB bugreport command to get all the lo
reproduced from: http://blog.sina.com.cn/s/blog_86d3fabb0100yff9.html Author: blueskyhff_firef
Get Log from Androidsystem
ADB bugreport> Bugreport.txt
Copy bugreport tothe current directory.
Bugreport contains a variety of log information, most of the log can be directly run by the relevant program to obtain directly.
Bugreport"Use" Android Performance analysis tool, Bugreport records the Android boot process log, the system status after startup, including the process list, memory information, VM information, etc."How to use"Adb bugreport > Bugreport.txt (export bugreport information)"Log
directories and files to any location on an emulator/device instance. to copy a file or directory from a simulator or device, use the following (life):adb pull To copy a file or directory to an emulator or device, use (command below)adb push In these commands, Here's an example:adb push Foo.txt/sdcard/foo.txtadb command ListThe following table lists all the commands supported by
the file or directory to the simulator or device and run the following command)Adb push In these commands, The following is an example ::Adb push foo.txt/sdcard/foo.txtAdb command listThe following table lists all commands supported by adb and describes their meanings and usage.Category Command Description CommentsOptions-d manage abd only through the USB interf
are some of the commands that are commonly used:
ADB devices, get device list and device status[xuxu:~]$ adb devices
List of devices attached
44c826a0 device
ADB get-state, getting the status of the device[xuxu:~]$ adb get-state
device
The state of the device is 3 minutes, and, device offl
that are commonly used:
ADB devices, get device list and device status[xuxu:~]$ adb deviceslist of devices attached 44c826a0 device
ADB get-state, getting the status of the device[xuxu:~]$ adb get-state device
The state of the device is 3 minutes, and, device offlineunknownDevice: normal connec
get-state, getting the status of the device
§[xuxu:~]$ ADB devicesDeviceThe state of the device is 3 minutes, and, device offlineunknownDevice: normal connection of devicesOffline: Connection unexpected, device not respondingUnknown: No device connected
ADB kill-server, adb start-server, end adb service,
:~]$ adb devicesList of devices attached 44c826a0 device ADB get-state, getting the status of the device[xuxu:~]$ adb get-state device
The state of the device is 3 minutes, and, device offlineunknownDevice: normal connection of devicesOffline: Connection unexpected, device not respondingUnknown: No device connected
Manage adb by sending commands via the simulator/device's allow command number (e.g. "Emulator-5556″")
If no number is specified, an error is given
General
Devices
View a list of all the facilities that connect the simulator/device
Find out more about querying for Emulator/device Instances
Help
View all the commands supported by ADB
Document directory
Connect to the database by running sqllite3 on a remote shell Client
UI/Software Test Procedure Monkey
Other shell commands
Use the logcat command
Filter log output
Control log output format
View available log Buffers
View stdout and stderr
Logcat command list
Android debugging bridge (adb) is a versatile tool that helps you manage the status of devices or simulators.
You can add ad
by ADB and describes their meanings and usage.
Category
Command
Description
Comments
Options
-d
Manage Abd only through USB interface.
An error is returned if it is not just managed using a USB interface.
-e
The ADB is managed only through the simulator instance.
If it is not just managed by the simulator instance, an error is returned.
-s
Use
information.
Help
Prints a list of supported ADB commands.
Version
Prints the ADB version number.
Debug
logcat [option] [Filter-specs]
Prints log data to the screen.
Bugreport
Prints Dumpsys, Dumpstate, and logcat data to the screens, for the purp
get-product acquisition device model ADB Get-serialno get serial number3. Wait for the device that is runningADB wait-for-device4. Port forwardingADB forward adb forward tcp:5555 tcp:1234 for forwarding the default TCP 5555 port to port 12345. View Bug reportsADB bugreport
Use of the Android ADB toolAn important comm
/device instances.
help
View all the commands supported by ADB:
version
View the version number of ADB.
Debug
logcat[
Output the log data to the screen.
bugreport
View bug reports, such as dumpsys , dumpstate , and logcat information.
jdwp
V
commands to the permitted command number of the simulator/device.
If no number is specified, an error is given.
General
Devices
View a list of all facilities connected to the simulator/device.
See querying for Emulator/device instances for more information.
Help
View all the commands supported by ADB.
Version
View the ADB vers
/device instances.
help
View all the commands supported by ADB:
version
View the version number of ADB.
Debug
logcat[
Output the log data to the screen.
bugreport
View bug reports, such as dumpsys , dumpstate , and logcat information.
jdwp
V
indicates that it is installed on the SD card instead of internal storage.'-- Algo', '-- key', and' -- iv 'indicates that the file has been encrypted.-->
Adb uninstall [-k] ('-K' means keep the data and cache directories)
The adb uninstall [-k] -K indicates that the data and cache directory are retained.-->
Adb bugreport
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.