I have summarized the problems and methods that are often difficult to solve in Android. Through exploration, it is generally a newly installedProgramThe ADB port is used for the moment. Services will be started when the new version of peas are clipped to the background, leading to the failure of ADB to start normally.
1. Error:Build failedD: \ workspace \ Ganji \ build. xml: 144: the following error o
Brief introductionTo do Android-related work will basically use the ADB, a brief introduction of the ADB pull and adb pushExport files from your phoneADB pull Import files to your phoneADB push At the command-line invocation, you first want to cut into the ADB directory, and then you can directly invoke the
Label:When we use Android Studio, there are times when the ADB fails to open or starts.ADB startup failure Reason: There are other programs that occupy the ADB default boot port number (like I have encountered, every time as long as the early start of the cool dog music, ADB will start failure ~ This is to let us concentrate on writing code, do not listen to the
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.
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
Several commonly used adb commands, commonly used adb commands
The entire process of adb is Android Debug Bridge, which literally means Android debugging Bridge. Is a set provided by the android system.
Tools Help us recommend a channel to connect to the android device, and then send some instructions on the computer to complete the work.
The Options settings-
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
Issue background: Install apk is reported error:protocol faultThe following problems occur:Solution One,Windows:Task Manager, see the ADB process, shut down, and then restart ADB start-server.Linux (my machine is Ubuntu system)Execute commandGnome-system-monitorOpen the Task Manager and turn off the ADB.Solution Two:1, after starting the simulator,2. Enter the cmd command and enter the CD D:\Android\sdk\pla
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
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 |
desktop computer, and there is no network card, you can buy a small USB external WiFi, plug in the desktop can also share WiFi. (As long as the PC can ping the IP on the phone)
Check the phone-side connection to the PC side to share out the WiFi after assigning the IP, assuming it is 172.19.10.5, then open the command line on the PC side. Tap command adb connect 172.19.10.5. many times the first case will appear: " Unable to connect to 172.1
Tags: android test automation adb
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 i
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
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 temporary Gateway:# BusyboxRoute add default g
2016.9.11 Android Studio will also have this problem, the solution is just like the error message different ADB connection Error:an existing connection is forcibly closed by the R Emote Host--------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------
When the phone is connected to the computer port to run the
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
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.