Joke Collection Website - Public benefit messages - General description of ADB
General description of ADB
2. ADB installs software.
Adb-s emulator-5554 install e: \ calculatorofwonum.apk has multiple devices connected.
Adbinstall-r e: \ calculatoroftwonum.apk The existing software is in cover the installation.
Adbinstall e: \ calculatoroftwonum.apk has only one device, and it is not installed.
3. ADB uninstalls the software
Adb-s emulator-5554 uninstallcom.example.calculatoroftwonum uninstalls the software of the specified device.
Adb-s emulator-5554 shell pm uninstall-kcom.example.calculatoroftwonum reserves the configuration and cache.
4.adb pull sends files from the mobile device to the local computer.
ADB pull/SD card/tmp/error . data d:/
ADB-S emulator -5554 pull/SD card /tmp/error. data d:/ Multiple devices are connected.
5.adb push sends files from the local computer to the mobile phone device.
Adb -s emulator-5554pushd:/example/error.data/sdcard/pass
6.adb shell ls displays all the contents of the current directory.
7.adb shell views the applications installed on the mobile phone.
Sugen
CD/data/data
Limit Switch (limit switch)
8.adb shell dumpsys battery check power supply information.
9. ADB shell dumpsywifi to view wireless network information.
10, adb shell dumps sys power supply to view power supply information.
1 1, adbshell dumpstytelephone. registry to view telephone related information.
12, adb shell cat /proc/cpuinfo to view CPU hardware information.
13, adb shell cat /proc/meminfo to view memory information.
14, adb shell cat /proc/iomen to view the information of I/O memory partition.
15, adbshellcat/system/build.prop | findstr "ro.product.model" to get the phone model.
16, adbshellcat/proc/cpuinfo | findstr "processor" to get the information of mobile phone processor.
17, ADB shellcat/proc/meminfo | findstr "memtotal" to get the memory information of the mobile phone.
18, ADB shell dumpsys windows | findstr "display" to get the resolution information of mobile phone screen.
19, ADB shell getpro pro.build.version.release to get system version information.
20.adb shell cat /proc/version obtains kernel version information.
2 1, ADB shell getpropgsm.operator.alpah to obtain operator information.
22. ADB shell getpropgsm.network.type to obtain network type information.
23. ADB shell dumpsys iphonesubinfo | findstr "devices id" to obtain the serial number information of the mobile phone.
24.adb shell df obtains system partition information.
25.adb shell dmesg obtains the information of linux kernel ring buffer.
26.adb shell dumpstate obtains the current state of the system.
27.adb get-serialno obtains the serial number of the equipment.
28.adb get-state obtains the current state of the device.
29. adb logcat checks the log information.
Adb logcat *:W outputs information with higher priority than warning level.
Adb logcat -b main view main buffer information.
30.adb error report check the startup process log.
3 1, adb jdwp lists the IDWP related process ID of the specified device.
32.adb start- the server starts ADB service.
33.ADB kill- the server shuts down the adb service.
34.adb forward redirects the port of this machine to the emulator or device port.
Adb forwards tcp:22 1 1 tcp:5566.
35, am simulation system behavior
Adb shell am start-n com.sec.android.app.camera/.Camera starts the camera function.
Adb shell am broadcast-a android.intention.action.battery _ changed-ei "level" 5-ei "scale"100 sends information simulating the low-power environment of mobile phones.
36. pm simulates behavior or queries applications on the device.
ADB Shell Project Management Checklist Package
37. Send a text message to the simulator and make a phone call.
20 18 102 1 12 12 18 102 1 14 12 12 13 . png 2 0 18 1026638
cmd telnet localhost 5554
20 18 102 1 14 1306 . png
Network speed 14.4:20 Set the network speed.
Network Delay 5 Set a network delay of 5 milliseconds.
Network capture start/stop Start/stop capturing packets.
Windows scale 0.5 modified the size ratio of the simulator.
Quit. quit
39.android list target view the Android system version of the simulator.
40.android create avd creates an emulator.
Android create avd-name Android 4 . 4 . 2-target 2-ABI armea bi-v7a
4 1, androidmoveavd-nandandroid4.4.2-r mytestdev 4.4.2 Rename the emulator.
42.android list avd view the simulator list.
43.android deletes avd -n hhh and deletes the emulator.
44. Emulator -avd Android4.4.2 Start the emulator.
- Related articles
- How to prevent network police from monitoring their phone calls and text messages?
- Why can't I get the information of Samsung 3900?
- Why is my mobile phone sending spam messages outside?
- How to pay back the student loan?
- Ningxia health code turns yellow, will other provinces change color?
- Fetion master comes in, why can't the computer send or receive short messages to the mobile phone?
- How to modify the ringtone of Xiaomi mobile phone sogou input method to be the dripping sound in the city hunter
- About the circle of friends whose health code has finally changed back to green code, talk about 60 selected copywriting sentences.
- How to apologize for sending a message to a leader without a title?
- Short sentences about a good restaurant environment.