First, the situation description: We are using eclipse development sometimes there is an ADB connection exception, sometimes the console will print out the ADB connect exception For example, the following will appear: [2014-12-18 16:18:26- ] The connection to ADB was down, and a severe error had occured. [2014-12-18 16:18:26- ] You must restart
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
Step: Two Steps
One, USB connection:
The steps for using the MTP device in Ubuntu Mount are as follows:
1. Connect the MTP device to the PC
2. If you are using the MTP device for the first time, you can skip this step if you need to install the following software:
Copy Code code as follows:
$ sudo apt-get install MTPFS libfuse-dev Libmad0-dev
3. Mount MTP Equipment
Copy Code code as follows:
$ sudo mtpfs-o allow_other/media/mtp
If you are p
Steps
Open 运行 and enter cmd the command line or shortcut key windows+r , then enter cmd
Enter your sdk installation directory, as mine is C:\FeatherTools\Android\sdk , and go to the directory whereplatform-tools
Input adb kill-server , killadb
Input adb start-server , appears to successful indicate success
C:\FEATHERTOOLS\ANDROID\SDK\PLATFORM-TOOLS>
ADB is not connected to a virtual machine, even if the adb kill-server command is executed?If your error message is that ADB server didn ' t ack this way, the 5037 port is occupied.Just find the process that occupies the port and kill it.The following are the specific practices:Address below: http://104zz.iteye.com/blog/1681183The following conditions occurADB se
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.
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
tools in the front end. More and more convenient debugging tools are nothing more than a great boon for front-end engineers.In recent years, browser vendors have launched their own remote debugging (remotedebugging) tools, such as opera Mobile can use the cross-device cross-platform desktop developer Tool Opera Dragonfly for remote debugging, IOS Safari You can turn on Web inspector for remote debugging in MAC OS x systems. Android 4+ on the system of chrom
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 ADB server,server and daemon via the
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 |
View Connected Devices
ADB devices //Display device list adb get-serialno //Get device serial number
Restart ADB service
ADB kill-server adb start-server
ADB gain root control
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.