Label:
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 ADB se
Detailed explanation of adb's principle and its total restart, and detailed explanation of adb's principle restart
1. adb (Android Debug Bridge) indicates the android debugging Bridge.
It is a command line tool in the android system that can communicate with android devices or simulators.
ADB is a C/S architecture application, which consists of three parts:
1) adb
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
you to specify the installation directory. For example, after implementing "ADB push xxx.apk System/app", xxx.apk is installed in the System/app directory, and the software under this directory is System application.ADB install the software installed with this command is located in the Data/app directory and is user application.Four, the Android device in the WiFi environment debugging stepsSometimes you can not use the USB port debugging logic, swit
| bootloader | DeviceADB get-serialno-prints: ADB get-devpath-prints: ADB status-window-continuously print device status for a specified deviceADB remount-remounts The/system partition on the device read-writeADB reboot [Bootloader|recovery]-reboots the device, optionally into the bootloader or recovery programADB reboot-bootloader-reboots the device into the bootloaderADB root-restarts the adbd daemon wit
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
Adb related operations, adb related
1 adb send Broadcast
Adb shell am broadcast-a com. android. launcher4.launcherReceiver -- es path "/mnt/sdcard/xx.apk" -- ei action 1 -- ei versionCode 21
How to Use the ADB command to view mobile phone-related information Parameters
Ge
I. Definition and function:ADB full name Android Debug Bridge, is to play the role of the Debug bridge. is a tool in the Android SDK that allows you to manipulate the Android emulator or the real andriod device directly, by default the ADB process will run automatically when we run eclipse. Of course, we can also use some of the commands that we have on the outside to manipulate the simulator or the real device. A
debugging mode, connect the USB mode first:$ adb tcpip 5555
3.2 adb shell AMAM is activity Manager.This command is used to perform some system actions, such as starting a specified activity, ending a process, sending a broadcast, changing screen properties, and so on. Debugging tool.
instruction
Description
Notes
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
phone needs to be connected to the computer)
Enable ADB over WiFi:ADB tcpip 5555//on a computer connected to a mobile phone
Reconnect to it.
Note: Turn off the wireless debugging instructions for ' adb disconnect xxx.xxx.xxx.xxx ' need to manually switch the ADB connection mode (more than 6.0), if no
if the command-line prompt is turned # ?Some phone root can not be adb root command to let adbd with root permission to execute, such as some models of Samsung, will be prompted adbd cannot run as root in production builds , you can install ADBD Insecure, and then adb root try.Accordingly, you can use the command if you want to restore adbd to non-root permissions adb
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
This question is a long story, is a lot of stories, in a month black night, under the direction of the leadership, the individual in the company's development of a computer for a, then feel very depressed, with a handy computer suddenly changed, opened a new computer, found already configured the JDK environment, installed good eclipse, suddenly feel good happiness , eliminating unnecessary trouble, so import project projects, into the project development. It was a pleasant thing, but suddenly e
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
Tags: android using SP for file on problem BS ADLinuxUnder Ubuntu system, ADB is not an internal commandWorkaround:1, sudo gedit~/.bashrc2. Add the following two sentences to the file opened aboveExport android_home=/home/jason/develop_sdk/android-sdk-linux_86Export path= $PATH: $ANDROID _home/toolsThe latest SDK should be changed to: $PATH: $ANDROID _homoe/platform-toolsNote: "/home/jason/develop_sdk/android-sdk-linux_86" is the path to the SDK.(Expo
deviceAdb remount-remounts the/system partition on the device read-writeAdb reboot [bootloader | recovery]-reboots the device, optionally into the bootloader or recovery programAdb reboot-bootloader-reboots the device into the bootloaderAdb root-restarts the adbd daemon with root permissionsAdb usb-restarts the adbd daemon listening on USBAdb tcpip Networking:Adb ppp Note: you shoshould not automatically start a PPP connection.[Parameters]-Eg. defaul
Linux under the ADB drive problemLinux under the use of mobile phone USB debugging mode to connect ADB to the Android program debugging, configuration driver without windows to intuitive.The first step is to confirm that the phone is connected to the computer, LSUSB check the device record.[Email protected]:~$ LsusbBus 007 Device 009:id 18d1:4e12Bus 007 Device 001:id 1d6b:0002 Linux Foundation 2.0 root HubB
Tags: adb server didnt ack cannot bind tcp5037 failed to start DaemWhen we use several different sources of ADB in the system, it is particularly easy to come up with the error described in the title:ADB server is an out of date. The reason for this error is that the port that our ADB is bound to is occupied by other services, or that there are multiple services
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.