ADB is a 10 thousand-capable tool that allows you to manage the status of Android devices. For more information about ADB, see: http://developer.android. com/GUIDE/developing/tools/adb.html.
ADB has the following functions:
Download and install the APK application on the host and start running on the target device;
ADB is a tool in the Android SDK that allows you to directly manipulate the Android emulator or the real andriod device. ADB is a client-server program where the client is the computer you use to operate, and the server side is the Android device.Its main functions are:
Shell running the device (command line)
Manage port mappings for emulators or devices
Upload/download files between your c
This article describes how to connect to Android's adbd over a network, especially a wireless network.Principle:ADB server: A service process on the computer with the process name adbADB daemon:android A service process on the phone, the process is named adbdADB client: You can think of a terminal window on your computer, and the process name is adbYour instructions are communicated between ADB server,server and daemon via the
1. Use ADB to get application information, version information of an APK in the phone, adb shell Dumpsys package com.sy.a2682. List all adb shell Dumpsys 3. Launch apk adb shell am star with ADB T-n Com.sy.a268/com.sy.a268.mainactivity4. Randomly generates an event to an app
Tags: reinstall serial number using otherwise force inux debug Tor HTML When it comes to the ADB everyone should be not unfamiliar, that is, Android debug Bridge,android Debug Bridge, as the Android development of us, skilled use of the ADB command will greatly enhance our development efficiency, the ADB command a lot, today to summarize the development of some o
:5557And so on ...As shown, the emulator instance connected to ADB on port 5555 are the same as the instance whose console listens on port 55 54.Once the server has a set up connections to all emulator instances and you can use ADB commands to access those instances. Because the server manages connections to Emulator/device instances and handles commands from multiple A
connection is successful, you can continue with the following action, if it is unsuccessful, as shown: Connect rejectsRestart ADB with adb tcpip modeADB tcpip 5555Connection successful, connected to 10.129.49.143:5555All commands for the original USB connection can be executed after the ADB connect IP connection is successfulsuch as
Tags: android adbADB server port Open cmd Run ADB Nodaemon server first to see what the ADB server port is
C:\Users\xxxx>adbnodaemonserver cannotbind‘tcp:5037‘
Then execute the next Netstat-ano | Findstr "5037"
C:\Users\xxxxxx>netstat-ano|findstr"5037"tcp127.0.0.1:50370.0.0.0:0LISTENING4236 tcp127.0.0.1:5037127.0.
How to get started with the android SDK adb command
[Basic Introduction]
The adb command is often used to learn about android. ADB stands for Android Debug Bridge and is a tool in the android sdk,ADB is a "client-server" program, where the client is the computer that operates, and the server is an android device, inclu
ADB usage problems in Windows
Questions about using ADB in Windows
Applicable environment:
In Windows XP and WIN7, follow the instructions in this article. In WIN8, no experiment is performed, but the operation settings are roughly the same. Except for step 1, the location of adb_usb.ini may be different, other parts can be operated as described in this document.
Note the following when using
1. query several android devices connected to the adb server> Adb devicesList of devices attached0123456789 ABCDEF device2. install an apk to the android device.> Adb install-r B: test6577PinyinIME.apk2509 KB/s (1284852 bytes in 0.499 s)Pkg:/data/local/tmp/PinyinIME.apkSucce
(~/.ANDROID/AVD) Windows (C:\Documents and SETTINGS\ADMINISTRATOR\.ANDROID\AVD) 8. Start Ddms:ddms 9. Displays all currently running emulators: ADB devices 10. Executes a command on a simulator: Abd-s simulator number command 11. Install the application: ADB install-r application. APK 12. Get the files in the emulator
Http://www.myexception.cn/operating-system/1636963.htmlThe steps are as follows:1. Start Terminal Terminal (if you already have a. bash_profile file under the current User folder, skip directly to 5)2. Go to the current user's HOME directory (command line input echo $HOME)3. Create a. Bash_profile (command line Input touch. Bash_profile)4. Open the. bash_profile file (command line input open-e. bash_profile)5. Edit the. bash_profile fileEnter in the. bash_profile fileExport path=/users/jiandan/d
Tags: erase img Fast BSP Use nbsp Wait zip bootReboot to Recovery interfaceADB reboot RecoveryReboot to Bootloader interfaceADB reboot bootloaderADB wait-for-device #等待设备ADB reboot-bootloader #这个是重启到bootloader界面 default is FastBoot. You can restart here first and then brush into boot.img.FastBoot Flash boot boot.img #这个是刷入boot的命令. The official solution should be brushed manually once.FastBoot Flash Recovery recovery.img #刷入recovery already have recove
The reason for the error is that the port of ADB is occupied by the process of other programs, so what to do is to find and kill the process. Steps:1. Run adb nodaemon server in cmd, see what the port number of ADB is, and under normal circumstances is 5037 (why? I don't quite understand, maybe the port number used by the software is fixed)2. Re-run Netstat-ano |
Jre_home =/home/loginname/JDK directory name/JRE
Export Path = $ java_home/bin: $ jre_home/bin: $ path
Export classpath = $ java_home/lib: $ jre_home/lib: $ classpath
Export Path =/home/loginname/android-sdk-linux_86/tools: $ path
After saving, restart
3. Add the device ID to the current Android debugging environment
Add the device ID of the android terminal to the/home/loginname/. Android file.
4. Update the SDK
[Android update SDK] updates the SDK.
5. Common commands:
[
serial number to differentiate:
Use the "-s With the "-d" option parameter, the ADB command is sent only to the actual hard device connected to the USB;With the "-e" option parameter, the ADB command is sent only to the Android emulator.
The back
Installing and uninstalling Application APK files
Installation:ADB [s
Example: Install helloworld.apk to a vir
-for-device commands are reproduced in the ADB command before the simulator/device is connectedadb jdwp View the available jdwp information for the specified facility.adb shell am command to start the applicationadb shell input text adb shell input keyevent Send key events to the deviceFor example, when you are editing a text message, enter it into the text box: adb
keyevent 3Event_code keycode_* in reference View/keyevent.javapublic static final int keycode_soft_left = 1;public static final int keycode_soft_right = 2;public static final int keycode_home = 3;public static final int keycode_back = 4;public static final int keycode_call = 5;public static final int keycode_endcall = 6;-----------Safety loading and unloading series-----------ADB install [-l] [-r] ('-l ' m
.
II:What are the main functions of ADB?
1: view the status of the current simulator or Android device instance
The adb devices command is usually used to view the status of the simulator before use. The ADB response information is obtained through this command, and the ADB response information is displayed.
1.1: emu
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.