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:
Wait-for-device
If the device is not online, it is not allowed to execute, that is, when the instance state is device
The command can be reproduced in advance in the ADB command, commands in the command will not execute other commands before the simulator/device connection, the example is as follows:ADB wait-for-device Shell GetpropIt is necessary to note that these commands do not start the
ADB program may be with The ADB program under the Android SDK conflicts and the 5037 port is occupied, resulting in the inability to connect to the device when using the ADB command 2, running on the PC-side service: Its management client to the Android device on the ADB ba
, 52-android.rules seems to be all possible.
Note "subsystem==" USB, sysfs{idvendor}== "2717", mode== "0666" is for the system recognition after Ubuntu 7.01.
and "subsystem==" Usb_device, sysfs{idvendor}== "2717", mode== "0666" is for Ubuntu 7.01 before the system identification.
Copy Code code as follows:
ubuntu@ubuntu:/etc/udev/rules.d$ sudo service udev restart//or restart Udev
Udev stop/waiting
Udev start/running, Process 16
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
reboot bootloader // restart to bootloader, that is, the brush Mode
ADB reboot recovery // restart to recovery, that is, the recovery mode.
------------------ Send command to device --------------------------------------
adb [-d|-e|-s
-D sends a command to the USB-connected device-e sends the command to the simulator device-S
ADB Problems
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 purpose of this documentation is to document a client requesting th
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
Label:In peacetime work, will often use the ADB command, here a little to tidy up a bit. The title may be changed to "My usual adb command" perhaps more precisely. Anyway, get in the chase. I. Summary 1. What is ADB? ADB is all called the Android Debug Bridge, is to play the role of the Debug bridge. Through the
computer files to the specified path of the device
Chestnut: adb push C: \ Users \ hp \ Pictures \ xxx.jpg/sdcard
6. adb pull
Sends the specified file on the device to the specified path on the computer.
Chestnut: adb pull/sdcard/xxx.jpg C: \ Users \ hp \ Pictures
6. adb get-product
Obtain the device ID.
ADB full name Android Debug Bridge, is a tool in the Android SDK, with this tool can directly operate the management of Android simulator or real andriod device (mobile phone), so in fact, work can give us a lot of help, The following is a summary of the ADB commands commonly used in previous work:
ADB help, listing all option descriptions and subcommands
In the process of development or testing, we can manage multiple devices through the ADB in the general format of:adb [-e |-D |-s With the environment variables in place, enter ADB help in the command window or enter ADB directly, and all the option descriptions and subcommands will be listed.Here are some of the commands that are commonly used:12 [xuxu:~]$
mv (MV) temperature:213 indicates that the current battery temperature is 21.3 degrees, in units of 0.1 degrees. 213*0.1=21.3 degree Technology:li-poly says the battery is powered by a lithium battery adb shell dumpsys wifi command ADB shell Dumpsys WiFi is to view the current WiFi connection situation Wi-Fi is disabled: current WiFi is off (disabling-current wifi is off, enabled-current wifi is enabled,
Configure the ADB command on your MacWhen you use the ADB command in Mac OS, you should configure the variables as follows:First, the terminal input CD ~Second, enter touch. Bash_profile returnTouch: If not, create a file, if any, update the file timeThird, input open-e. bash_profileOpen: Opening fileThe file will open in TextEdit after the carriage return (if the environment variable is not configured, it
example, sudo. /ADB kill-server, sudo. /ADB start-server.
6. Use the following command in shell:
[Am start-N {package name}/{package name}. {activity name}] Start the activity of an app. For configuration reference, see androidmanifest. XML, for example, alarm:# Am start-N com. Android. alarmclock/COM. Android. alarmclock. alarmclock
[AM broadcast-A Android. Intent. Action. actionname] sends a broadc
Use adb to transfer files between your computer and mobile phone, and use the adb mobile phone to transfer files
First, you need the root mobile phone.
Then, "Win + R" opens the cmd window. The following example describes how to copy d: \ 1.txt to the/system/directory.
Adb push source (localpath) dest (mobilepath)
D: \> adb
How many commands are used to handle adb, and how many commands are used to handle adb?Android Development Board:Start adb:Start adbdReset the adbd Port:# Stop adbd# Setprop service. adb. tcp. port 5555# Start adbd# Ifconfig eth0Set a temporary IP Address:# BusyboxIfconfig eth0 192.168.0.59 netmask 255.255.255.0Set a t
connection state, and the process's PID number. There are two processes occupying 5037 ports, one of which occupies a local 5037 port, and the other occupies an external 5037 port, which is, of course, the local PID 240 port.
3.ctrl+alt+del called the Service Manager. Click on the process and now you are looking for the PID 240 process. Sometimes you may find that the Task Manager does not have process PID information displayed, so just click on t
The difference between the use of ADB push and adb install in Android is reproducedThis article is submitted by Yingchun Shi (@ three vulgar little Women). Reprint please specify the original address.In the actual development of Android, the ADB command is often used, and the installation application can use ADB push o
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.