A. Use the adb LAN function to connect the device
1. Run the adb command with a usb connection and change the connection mode to tcpip.Adb tcpip {port} port is the port number2. Unplug the USB cable and run the adb command to connect to the device.Adb connect xxx. xxx (device ip): port (the port number just set)3. Run
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
When developing an Android app, it's usually connected to the device and computer via a USB cable, but for some applications that need to use a USB device, this approach is troublesome, and the USB port of the phone is connected to the external USB device and no longer connected to the data cable. This can be done by means of a network TCPIP. That is, ADB connect
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
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
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
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
A tester can complete the test of copper cables and optical cables, certification and documentation Record Filing automatically calculates the optical fiber margin and passes/does not pass the test results automatically at both wavelengths simultaneously measuring the two optical fiber cables stored in copper and optical fiber cables new model: DSP-FTA440S, DSP-FTA430S, DSP-FTA420S products function high-speed network makes the optical fiber in the construction and campus network environment can
Tags: android test automation adb Monkey
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
The metropolitan area Optical cable line is mainly the pipeline optical cable, supplemented by the aerial and other laying way very few optical cables, its characteristics are: The line section is relatively short, can be divided into local trunking, user access network backbone and user to introduce optical cable, optical fiber
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
adb server is enabled, the connection to the simulator is established by finding the port between 5555-5585. After the connection is established, the adb commands can be used.
Detailed illustration of ADB principles
Now I understand.
2. DDMS
When developing in Eclipse development tools, you can open the DDMS panel in the upper right corner. Debugging
With the rapid development of broadband multimedia service and optical fiber communication technology, optical fiber communication technology has been used more and more widely in the access network. In the past, optical fiber network is mainly to meet the needs of transmission network construction, access to the layer of fiber optic cable needs less, a small number of access layer cable is generally direct
Generally, Android applications are connected to devices and computers through a USB data cable. However, this method is troublesome for applications that require USB devices, the USB interface of the mobile phone has been connected to an external USB device, and the data line cannot be connected. At this time, you can use the network TCPIP method. That is, ADB connects devices over the network without the
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 server is processe
your reference!
[Software requirements]
1. Android SDK
2. Android-related mobile phone drivers
The related software pen is integrated to facilitate the download. Click the roottool and drive. rar
[Software installation]
Step 1: Install the USB driver
I have already introduced this step in the series of tutorials before Android, so I will briefly describe the process today. Go to settings-Application-Development-USB debugging, and check the first option. Connect to the computer through USB
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
Issue backgroundIn the recent project test, the mobile device and the manufacturer machine should be connected with the USB video transmission (projection screen). Testing process needs to locate the problem, often need to check the real-time log, mobile device has and manufacturers of machine USB connection screen, can not be connected to the PC with USB, then there is any way to solve the above problem?ADB supports USB connection mode and TCPIP conn
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.