install [-L] [-R] ('-L' means forward-lock the app)('-R' means reinstall the app, keeping its data)ADB uninstall [-K] ('-K' means keep the data and cache Directories)ADB bugreport-return all information from the device that should be stored in a bug report.ADB help-show this help messageADB version-show version num
Dataopts:(No option)-Don't touch the Data Parti
connection of devicesOffline: Connection unexpected, device not respondingUnknown: No device connectedADB logcat, print system logs for AndroidADB bugreport, prints the output of Dumpsys, Dumpstate, Logcat, and is also used for parsing errorsMore output, recommended redirection to a fileADB bugreport > D:\bugreport.logADB install, installation application, overwrite installation is using the-r optionIf you
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:
for Android
ADB bugreport: Prints output of Dumpsys, Dumpstate, Logcat, also for parsing errors (more output, recommended redirection to a file)
ADB Install: Installation application,-r: Overwrite installation
ADB Uninstall: Uninstall app, followed by parameter is the app's package name, different from apk
Label:
Heaven Zhuhai Branch Rudder note : Originally this series is to prepare a book, details please see the earlier blog "to seek partners to write the deep understanding of Monkeyrunner" books. But for many reasons, there is no wish. So the draft is shared here, so mistakes are unavoidable. If necessary, please refer to the following, the forwarding of the word also keep the end of each article source and other information.
The ADB se
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) adb
and displayed.
2. Install software
ADB install
Adb install
3. uninstall software
ADB uninstall
ADB uninstall-k
If the-k parameter is added, the software is uninstalled but the configuration and cache files are retained.
4. Enter the shell of the device or simulator:
ADB
(retains data when removing programs)This package name is not the file name when installing the APK bundle or the name of the application displayed in the emulatoryou can query the package name that you want to remove by going to the/data/data or Data/app directoryadb Shellls/data/data or/data/app (query package name)Exitadb Uninstall package (removal of the query to the package)$adb Devices (shows how many emulators are currently executing)$
Tags: Roi tool tle GUID title TOC statement USB apk In the Android development process, often need to see some information printing. Android test development (similar to Java's JUnit) is a good idea. But see Logcat is "kingly". Why do you say that? Let's say you've seen the Android source code and you should know that there are a lot of such statements like log**. So see Logcat will be more high-speed, direct to find the problem lies. To accelerate your development. Of course. Android provides
the two commands is known as a test.7. Install the APK Program
ADB install 8. upload and download files
ADB pull
ADB push 9. Other functions
Help to view all commands supported by ADB
View the version serial number of ADB
Logcat prints logs to the screen
/addroid/lib/libwebcore. so.
25. Search for simulator/device instances:
Obtain the list of running Simulators/devices and the status of each instance:
Adb devices
26. view the bug report:
Adb bugreport
27. Record wireless communication logs:
In general, there are a lot of wireless communication logs and there is no need to record them during operation, but
\system\core\toolbox directory and source \frameworks\base\cmds directory.
20. Delete System Application:
ADB remount (Mounts the system partition to make the system partition writable again).
ADB shell
CD System/app
RM *.apk
21. Get Administrator Privileges:
ADB root
22. Start activity:
ADB shell am START-N
added, the software is uninstalled but the configuration and cache files are retained.
4. Enter the shell of the device or simulator:
ADB Shell
Through the above command, you can enter the shell environment of the device or simulator. In this Linux Shell, You can execute various Linux commands. In addition, if you only want to execute one shell command, you can use the following methods:
ADB shell [command
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 ???????????)3) upload and download files between comput
Adb related operations, adb related
1 adb send Broadcast
Adb shell am broadcast-a com. android. launcher4.launcherReceiver -- es path "/mnt/sdcard/xx.apk" -- ei action 1 -- ei versionCode 21
How to Use the ADB command to view mobile phone-related information Parameters
Ge
administrator privileges: adb root 22.
Start ACTIVITY:ADB Shell am Start-n Package Name/package name + class name (-N class name,-a action,-d date,-m mime-type,-c category,-e extension data, etc.). 23, the release port: You can set any port number, as the host to the emulator or device request port. such as: adb forward tcp:5555 tcp:8000 24, copy files: You can copy files to or from a device, copy a file o
ADB (Android Debug Bridge) is a tool in the Android SDK that needs to be configured with environment variables before it can be used. The role of the Debug bridge, you can manage the Android device. (also called Debug tool)---------View Device Connection status-----------adb get-serialno get the ID and serial number of the device ADB devices queries the devices c
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.