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
geo:0,0?q=beijing Start Web page Am START-A android.intent.action.view-d http://www.aizheke.com Call Am start-a android.intent.action.call-d tel:88888888 Start service Am Startservice-n cn.qylk/.service. LocalService Viewing log information logcat-s [tag name] "Log to File:-F [filename]" Viewing device ADB devices into shell
include system Apps)(The-all or-shared flags are passed, then the packageList is optional. Applications explicitly given onCommand line will be encoded ded even if-nosystem wocouldOrdinarily cause them to be omitted .)You can use this command to back up its content,
ADB restore
Archive files backed up by Alibaba Cloud can be re-stored on devices.ADB help-show this help message
Show Help InformationADB version-show version num
Show De-version n
system# Ls // the contents of the current folder are displayed in the list# Rm-r XXX // delete a folder named XXX and all its files# Rm XXX // delete file xxx# Rmdir XXX // Delete the xxx folder
9. Use the mkdir command to create a folder. Example: mkdir Images
At this point, the folder has been created. Go to ddms in eclipse and open the new folder. You can see that the new folder already exists in this directory.
10. Use the ADB command to send coo
Tags: nal ima size ini nbsp Admin execute Mina TerminalIssue: Run adb prompt command not foundResolution:1. Download and install: ANDROID-SDK-MACOSXDownload path: http://down.tech.sina.com.cn/page/45703.html, download version for Mac 24.4.12. Open Terminal Terminal3. Create the. bash_profile file and enter the command: Touch. Bash_profile . If you have already created it, you do not need to create it again. Skip this step directly to perform 44. Open
Tags: permissions ref/tmp database debug Path base local exitⅠ After configuring the Android SDK environment variable, connect the Android phone to your computer and do some simple commands for ADB. ADB, Android Debug Bridge, one of the tools of the Android™ SDK. Direct operation to manage Android simulator or real Android device. Use ADB tools to manage the sta
:0001 Linux Foundation 1.1 root hubbus 004 Device 004:id 093a:2510 Pixart Imaging, Inc.bus 0 Device 001:id 1d6b:0001 Linux Foundation 1.1 root HubI am here:Bus 007 Device 009:id 18d1:4e12Then create a configuration file under/etc/udev/rules.d/: 51-android.rulessudo vim/etc/udev/rules.d/50-android.rulesThe following configuration parameters are added to the file:subsystem== "USB", sysfs{"high Tech computer Corp."} = = "0bb4", mode= "0666"Save, set permissions under Configuration filesudo chmod a+
Tags: technology stop pull Wireless appear img permissions get common commands
Display all devices in the system:ADB devicesThis command is to view the currently connected device, the Android device connected to the computer, or the emulator will list the display 2. Open the ADB service:ADB start-server 3. Close the ADB service:ADB kill-serverStop ADB
Tags: os using ar for file Art SP log CIf you want to use ADB directly in the DOS interface, you need to add tools and Platform-tools in the ANROIDSDK installation directory and add it to the environment variable path.View current devices (including real machines and emulators): ADB devicesStart/close adb service:
form, you can switch to the Platform-tools folder of the folder where ADK is located. (ADK the folder where the ADB command tool is located).Then run ADB devices in the command line formSo far. ADB on the line normal link on the device 5. ADB frequently uses commands Adbkill-server #停止
ADB is a bridge between PC and device and can be operated by ADB on devices.
ADB devices List your devices
ADB kill-server kill adb Service (try if the device is connected to a problem)
to be omitted .)You can use this command to back up its content,
ADB restore
Archive files backed up by Alibaba Cloud can be re-stored on devices.ADB help-show this help message
Show Help InformationADB version-show version num
Show De-version number
Scripting:
ScriptADB wait-for-device-block until device is online
When the device is onlineADB start-server-ensure that there is a server running
Start its serviceADB kill-server-kill the server if it i
the root account: su
(2) enter the password
(3) Go to tools> sudo./ADB kill-server and turn off the server service.
(4) Go to tools> sudo./ADB devices to start the existing ADB service.
7. Install JDK in Linux
(1) download jdk-6u15-linux-i586.bin files
(2)/usr/Java enter th
Tags: ges How to use equipment art MP4 release not authorizeWhat is ADB?The ADB tool is Android Debug Bridge (Android) tools. It is a command-line window for the computer to interact with the emulator or the real device.Common operations:
Send files to an Android device, or drag files from Android to a local
Install/uninstall apps on your Android device
Export the app's logs to a local
1. Download 360 mobile phone assistant2, find an Android phone connected to the computer, install the driver3, mobile phone assistant can connect mobile phone4, unplug the phone to open the simulator can be used in the ADB to connect the simulatorFind a program that occupies a port and prevents it from running1. First find the process PID which occupies 5037 port, enter "Netstat-aon|findstr 5037" in the command line.2. Set the
Preface: Just started to learn Android (adhere to 1 notes a day ^_^), more practical command is the ADB, so the first to learn these, mainly with the real machine debugging, simulator is genymotion, so emulator temporarily not need ha, can follow up1. View simulator/Connection device:By default, all ADB clients communicate with the ADB
Song ZhihuiAndroid Debug brideg (ADB) is a multi-purpose command-line tool. You can communicate with an Android virtual machine or connect to a real machine. It also provides access to advanced command-line operations on the device shell. It is a client-server program that contains the following three parts:
A client that runs on your development device. You can invoke a client from the shell with the ADB
ADB outputs the following status information for each device:
L serial number (serialnumber)-a string created by ADB that uniquely identifies a simulator or mobile phone device using the Console port number. The format isEmulator-5554
L state-connection status. The value is:
N offline-not connected or not responding
N device-already connected to the service provi
Because Android is a Linux kernel-based operating system. As a result, shell commands can be executed on Android.[Email protected]:~ $adb Shell[Email protected]:/$ su Get root privilegesLS View folderCD Change DirectoryCat RM Delete Filemkdir Exit shell command0. Start and close the ADB service ADB kill-server//close
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.