You can connect to your Android device with Wi-Fi via a standard TCP/IP connection.This is especially useful when developing applications that monitor USB-related events, because USB connections can interfere, such as USB connection/disconnection events.The first thing to do is to connect your Android device and computer with a USB cable as usual.Also make sure that your computer and device are connected to the same Wi-Fi.Next go to the IP address of the device, open setting->wi-fi->advanced (Se
After Android 4.2, because the ADB control, unified use of persist.sys.usb.config to control, so the corresponding set point also changed to frameworks/base/service/...../usb/ Usbdevicemanager.java, you can also see similar code such as:Public Usbhandler (Looper Looper) {Persist.sys.usb.config should never be unset. But if it's, set it to "ADB"So we had a chance
Label:1. Install adb via Apt-getsudo add-apt-repository ppa:nilarimogard/webupd8sudo apt-get updatesudo apt-get install android-tools-adbConnect your Android device to your computer and the ADB shell will prompt "Error:device not found"2, connect the Android device to the computer, through the LSUSB to view the USB device, the following red section corresponds to the Android deviceBus 001 Device 001:id 1d6b
adb Use of Commands execution results are adb output The following status information for each device:l Serial Number(serialnumber)-byadbA string created using the console number to uniquely identify an emulator or phone device, in the formatDevice Type>-Port number>, such as:emulator-5554l Status (state)- The connection state, whose value is:n offline NBSP;-NBSP; Not connected or not responding n
1. Query for several Android devices to connect to ADB server >ADB devices List of devices attached 0123456789ABCDEF device 2. Install a apk to the Android device >adb install-r b:test6577pinyinime.apk 2509 kb/s (1284852 bytes in 0.499s) Pkg:/data /local/tmp/pinyinime.apk Success -R indicates a forced installation, and this option is used when the APK is
1.Connect andriod Device to your Linux * * * *.
2.Use "Lsusb".
Use LSUSB to check the Android device ID into USB subsystem, like below (Does not care "$"):
$ lsusb
Bus 001 Device 002:id 0fce:6156 Sony Ericsson Mobile
Number "0FCE" is the Andriod device ID of use subsystem.
3.Update adb tool.
Turn to Android SDK folder "Tools", Typein below words:
$./android adb update
It ' s neccesary step to creat
Resource Source: http://blog.csdn.net/wangdong20/article/details/20839533Do Android debugging often encounter, the program is written, ready to connect to the phone debugging, can appear in a few momentsI believe that the students who have done Android debugging have encountered this problem, online said kill off with the ADB-related process, restart eclipseBut I didn't see the obvious ADB process on the Ta
Whether-all automatically includesSystem applications; The default is to include system apps)(The-all or-shared Flags is passed, then theList is optional. Applications explicitly given on theCommand line'll be included even If-nosystem wouldOrdinarily cause them to be omitted.)With this command, you can make a backup of its contents,ADB restore Archive files to which they are backed up can be re-stored on the device's contentsADB help-show this Help
Android: What is Activity and common ADB commands and Android project structure? adbandroid
To sum up some of the previous Android contentI:
AndroidCommon
ADBCommand (adb android debugging Bridge)
1.Adb devicesView the simulator device and connect again.
2.Adb kill-serverTurn off all simulator devices.
3.
Label:1. If you can already connect to adb with USB, you can switch to wireless connection by using the following command. ADB tcpip 5555adb Connect 192.168.0.101:5555 The following command to switch back to USB mode. ADB USB 1), connect the Development Board with the PC with a USB cable, open cmd, enter the ADB tcpip
Problem: After installing the phone driver on the computer, the mobile phone enters the setup----> Application ----> Development-----> Check USB debugging to connect the computer, and enter ADB devices in the cmd command to find no devices. Workaround: Start Menu- computer (right-click)-Device Manager, find devices such asDouble-click the device driver and select the "Details" tab in the popup menu . In the drop-down menu, select "Hardware Id"The numb
Android's adb service listens to USB by default. Generally, we connect to the target machine through USB during development. However, if the target machine has only one USB port, what should we do if we need to use this USB port for other purposes (such as OTG port USB flash drives? In fact, adb supports access through the network. When necessary, you only need t
Workaround: First find out if the ADB service is bound port problems, if there is a problem with the binding port, find out which process the port is occupied, and then kill the process.1. Start the ADB service with CMD first. This time will prompt the startup to fail. E:\android-SDK-4.2\android-sdk\platform-tools>
file:subsystem== "USB", attrs{idvendor}== "1d6b", attrs{idproduct}== "0002", mode= "0666 "Save, set permissions under Configuration filesudo chmod a+rx/etc/udev/rules.d/50-android.rulesRestartSudo/etc/init.d/udev Restartfinally restart the next ADB service, you can (do not configure the environment variable to go to the Android SDK tools directory to execute sudo./adb
The first scenario: do use multiple devices or simulatorsWorkaround: (Specify a device or emulator to connect to)1. Get the simulator/device list
adb devices
2. Specify device to execute ADB shell
adb -s devicename shell
For example:
adb
Install the Android Virtual Machine and debug the adb on VMware
Detailed installation steps:
Install x86android with VMware
Installation steps:
Install android on VMware(You can configure the horizontal screen)
Note:
After installation, the system may be stuck in wifi,Click here to view the solution
Adb remote android debugging:Click here to view detailed methods
VM command:
$ Su
# Stop adbd
#
/Author: longtian635241 (longtian_huang@urbetter.com) // Forum ID: android210 Exynos4412 // copyright: Tim // platform: youjian android210 Exynos4412 Development Board // Release Date: // last modification: 2013-07-19 /// Drivers 1. Install the adb Driver (the adb driver is the latest and must support the adb connect ip command, you can enter
During recent development, the ADB connection may fail from time to time. I tried many ways to solve this problem, but it was a waste of time,
But the problem still has to be solved after all. So when trying the second solution below, we can finally solve it. Thank God. Now I want to share it with you, hoping to work hard.
Help:
1. In general, restart ADB after finding abd.exe in the task manager.
2.
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.