Tags: monitor example sage XML LAN Difference Task Manager Lis HelpFor mobile Android testing, the ADB command is a very important point, you must memorize the usual ADB commands in the heart, will be a great convenience for Android testing, many of the commands will be used in automated test scripts.Android Debug BridgeADB is actually Android Debug Bridge , the abbreviation of Android Debug Bridge,
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
forward command, and then the "adb forward–list" command to list all connections that have port forwarding configured.
Figure 4-4-8 Port Forwarding command example
ADB command-Install the appThe installation package for the specified path can be installed on the target Android machine via the "adb
. This is my catalogue.3. The results of the successful operation of the editor are as follows:Third, the use of code1.ADB version Information C:\USERS\ADMINISTRATOR>ADB versionAndroid Debug Bridge Version 1.0.312.Install and Uninstall AppsYou can install an app on Emulator/device from development computer by using the
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
Original address: http://testerhome.com/topics/2565For mobile Android testing, the ADB command is a very important point, you must memorize the usual ADB commands in the heart, will be a great convenience for Android testing, many of the commands will be used in automated test scripts.Android Debug BridgeADB is actually Android Debug Bridge , the abbreviation of Android Debug Bridge,
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
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 purposes of bug reporting.
For mobile Android testing, the ADB command is a very important point, you must memorize the usual ADB commands in the heart, will be a great convenience for Android testing, many of the commands will be used in automated test scripts.Android Debug BridgeADB is actually Android Debug Bridge , the abbreviation of Android Debug Bridge, ADB is a c/S Architecture com
For mobile Android testing, the ADB command is a very important point, you must memorize the usual ADB commands in the heart, will be a great convenience for Android testing, many of the commands will be used in automated test scripts.Android Debug Bridgeadb is actually Android Debug Bridge , the abbreviation of Android Debug Bridge, ADB is a c/S Architecture com
emulator/device instance is running, you need to specify a target instance when you publish the ADB command. To do this, use -s the Options command. The options that -s are used areAs shown above, a target instance is specified for a command that uses the serial number assigned by ADB. You can use the devices command to get the serial number of the emulator/device instance runningExamples are as follows:Ad
emulator/device instance is running, you need to specify a target instance when you publish the ADB command. To do this, use -s the Options command. The options that -s are used areAs shown above, a target instance is specified for a command that uses the serial number assigned by ADB. You can use the devices command to get the serial number of the emulator/device instance runningExamples are as follows:Ad
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
1 common command-line tools in the Android SDKThere are many command-line tools in the 2 starting and shutting down the ADB service (ADB start-server and ADB kill-server)After testing by the author, the ADB service is possible (this service can be found in the Windows process after the simulator has been running for a
After testing by the author, the ADB service is possible (this service can be found in the Windows process, which is used for the emulator or a real-time service connected via a USB cable), after the simulator has been running for a while. The ADB service needs to be re-closed and restarted. Of course, restarting eclipse may solve the problem. But that's more troublesome. If you want to close the
commands to a specific simulator/device instanceIf more than one emulator/device instance is running, you need to specify a target instance when you publish the ADB command. To do this, use -s the Options command. The options that -s are used areAs shown above, a target instance is specified for a command that uses the serial number assigned by ADB. You can use the devices command to get the serial number
Label:Install software: adb install apk (file name. apk)Reinstall the SOFTWARE: adb install-r apk (file name. apk)Uninstall APK software: adb uninstall APK (package name. apk)Check the run log on your phone, which can be used to check for errors:
Clear the phone's log buffer
Some mobile rights control, not supported.
ADB logcat-b
Print log information for specified buffer
Buffer: Main (main log area, default), events (event-related log), radio (RF, telephony related log)
ADB logcat-v
Formatted output log
Common use of ADB logcat-v time display
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.