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 |
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
/rules as administrator. d/51-android.rules file to enable the host to detect the device and add the device ID to the file, for example, 18d1. If it is a USB device, use the lsusb command to view the ID of the USB device that is currently connected to the host.
Subsystem = "USB", sysfs {idvendor} = "18d1", mode = "0666"
Save and exit.
Run the following command:
$ Chmod A + R/etc/udev/rules. d/51-android.rules
Note: We recommend that you change the configuration and then restart the host system.
Article transferred from:
Http://www.cnblogs.com/622698abc/archive/2013/06/11/3132306.html
Run ADB shell AM broadcast on the command line to send broadcast notifications.
Parameters following ADB shell AM broadcast include:
[-A [-D [-T [-C [-E | -- es [-- EZ [-E | -- EI [-N [-F
For example:
The value of the key value of the command type to be sent to (the same as the value later)
This article mainly explains a few of our common use in the debugging process of several ADB commands and usage, the specific process of ADB connection here will not speak moreFor instructions on how to connect your phone via the adb command, refer toHow to debug adb via PC-connected Android deviceFirst you must ensure
Find D:\Softwave_Ghost\ technology software in your android-ide \ide\adt_android_eclipse\adt-bundle-windows-x86-20130219\sdk\ Platform-tools Directory has adb.exe CD to this directory and then you can do the ADB operation
or set environment variables
Environment variables, advanced system settings, properties--, My Computer
Or an administrator, open cmd in the path above setpath=
Try the ADB and see how he
ADB supports two ways to connect to the Android system, USB mode and network mode. Normal phone and tablet are set to USB by default.The Android system has a service (ADBD) running on the bottom, which is used to connect and manage everyone's computer-side ADB commands.This service will listen to one of the USB connect
*
Could not read OK from ADB Server, error = 109
* Failed to start daemon *
Error:cannot Connect to Daemon
E:\ANDROID\ANDROID-SDK-WINDOWS\PLATFORM-TOOLS>ADB devices
* Daemon not running. Starting it now on Port 5037 *
* Daemon started successfully *
List of devices attached
2cbe000400000001 Device
android ADB shell:unknown Host
Error:could not find adb, please install the Android SDK and set path to ADBEnvironment: Win7 64bit Eclipse 1.4.1Android-sdk_r21-windowsProblem Description: Put Asm.jar in the user directory of C drive, execute Java-jar Asm.jar, jump out as promptedCause analysis: The SDK directory settings are incorrect.1. SDK Environment settingsSystem environment variables, environment variables, advanced system settings, properties, computersA) New variable Androi
Adb functions and adb Functions
Of course, you must first enter the cmd command line to run the adb shell.
The following describes some commands that we often need but do not use.
1. df-sh view the space occupied by the current folder
2. view the current memory usage of the system using du.
3. input text xxxxxxxxxxx xxxxxxxx indicates the content to be ent
Tags: solutions for Windows devices computerWe often see the "ADB is not an internal command or external command" When you enter "ADB devices" on the cmd command line. This problem mainly occurs when the Windows System environment variable is not set, we can set it ourselves manually.Turn on the computer--Properties--Advanced system settings--environment variable--path, see settings, add "after existing var
not need to care about these concepts and differences.
Therefore, from the perspective of running entities, ADB consists of three parts:
Adbd
ADB Server
ADB Client
Google also introduced the concept of ADB Service (ADB
, all the simulators were displayed as normal, but the Android phone connected was prompted as follows:
???????????? No permission
It seems that the system permission for running the ADB command is not enough. You can switch the operation permission to the root account, but you still cannot do it. You can check it online and there are many people who encounter such problems, the reason is that when the ADB
getpropNote that these commands do not start adb before all systems start up. Therefore, you cannot execute other commands before all systems start up. For example: UseinstallAndroid packages are required only when the system is fully started. For example:adb wait-for-device install The preceding command is executed only when the simulator/device is connected to the adb
Tags: tool exe cond system fast Toolbox download COM environment variablesHttp://www.cnroms.com/adb-and-fastboot-toolkit-with-google-usb-drivers.html The three most common set of toolkits you need to manage your Android phone with your computer, and no need to download the full SDK to download these three gadgets. The toolkit includes ADB and fastboot, and it also automates the installation of the latest dr
Grammar:ADB connect Usage examples:192.168. 1.128:5555// returns 192.168 If the connection is successful . 1.128:5555DescriptionWhen using the visual Studio Emulator for Android emulator, the default ADB devices command does not listen to the virtual appliance and requires manually specifying the IP and port 5555 of the virtual machine.How to obtain the IP address of the virtual machine:This will allow the ADB
After installing the SDK, and the phone opens developer mode and allows USB debugging, it still prompts "ADB server version not match client".One, view 5037 port occupancy:1) Netstat-ano | Findstr "5037"2) View PID via Task ManagerSecond, review the processView by command or Task Manager, command: TASKLIST/FI "pid eq XXXXX"Third, end the process in Task Manager.This process for the Golden Hill poison PA process, after the termination still appears.Sol
Tags: cat usage inf Deb CPU sequence and Pac AdeAdb:android Debug Bridge is a powerful tool in the Android SDK that allows you to operate an Android emulator or real-world device directly. Detection app:adb shell am start-w $package/. MainactivityStart timeadb shell Dumpsys meminfo $pidSpecify program Memory usageadb shell Dumpsys meminfo $package Specify program Memory usageadb shell Dumpsys cpuinfo $package Specify program CPU Usageadb shell cat/proc/uid_stat/$PID/TCP_RCVData traffic being rec
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.