ADB Overview
The tools folder of the SDK contains important commands for Android simulator operations.ADB and ADB are all called (Android debug bridge is the function of debugging bridge. Through ADB, We can debug Android programs through ddms in eclipse. With this tool, we can manage the status of devices or mobile phone simulators. You can also perform the foll
ADB, short for Android debug bridge, is a tool in the android SDK. It can be used to directly manage Android simulators or real Android devices (such as G1 ~ 8 mobile phones ).
Its main functions include:
Run the shell of the device (command line)Manage port ing between simulators and devicesUpload/download files between computers and devicesInstall the local APK software on a simulator or Android device
CMD common Console1. Clear screen command: CLS2. List the details of the current directory: Dir3. delete the file del xxx.txt.
Common android ADB commands1) Create an sdcardMksdcard 50 m D:/sdcard. IMG --> Create a 50 m sdcard
2) Delete sdcardCd d :/Del sdcard. img
32.16.pdf put the ljq.txt file in sdcardADB push D:/ljq.txt/sdcard/
4) Create an AVD SimulatorAndroid create AVD-n avd name-T target platform numberFor example, Android create AVD-N
Android ADB obtains the root permission
(1) In Android compiled by myself, the ADB shell automatically obtains the root permission (that is, the display # instead of $ ):
Method:
Modify./Default. Prop
Set Ro. Secure to 0, persist. Service. ADB. Enable to 1, and the adbd process will start as the root user. For the principles, see the following reprinted artic
The client downloads a tool called adbwireless to open the ADB mode port
Set the ADB environment variable on the PC side.
Dual-ended connection to the same wifi, get the connection IP to the client
Win7 cmd/adb connect IP (client) connection machine: ADB connect 192.168.0.11
PC-Side Find Android Device
We can always see in Android development that the log log content of the program is full of screens, and the information that really makes sense to the developer is submerged in the torrent, leaving developers at a loss and seriously impacting development efficiency. This article introduces several ways to filter adb logcat output in the shell command line.
1, only show the required output (white list)
The easiest thing to do, of course, is to use g
Tags: pause analog keys IMEI Specify port Android options server Prepare developer optionsWhat is ADB, the good toy of Android device player, namely Android Debug Bridge, is the PC side with the Android to operate the pipeline, through the ADB can operate the Android system on the PC. Provides powerful tools for Android development or testers, so we're going to have to be proficient in their orders as teste
"Declaration" reproduced please indicate the source, this article from the tip of the blog: http://blog.csdn.net/huntersnail--Write a blog every day, do a bit of technical accumulation every day!First, the problem descriptionThe following error occurred while compiling the program[2015-06-25 11:10:32-myfrxs] The connection to ADB are down, and a severe error has occured.[2015-06-25 11:10:32-myfrxs] You must restart
1. adb/adb-help use 2. ADB devices view devices connected to the PC 3. ADB install example.apk Installer 4. Adb-s emulator-5554 Install example.apk installer to the specified device (emulator)5. ADB pull save files on your d
Http://jingyan.baidu.com/article/fcb5aff7f55c63edab4a7174.htmlHttp://www.cnblogs.com/playing/archive/2010/09/19/1830799.htmlHttp://jingyan.baidu.com/article/0202781188dbee1bcc9ce5e0.htmlHttp://www.cnblogs.com/greatverve/archive/2012/04/23/android-adb.htmlADB devicesADB start-serverADB kill-serverADB shellADB rootADB usbADB installADB UninstallTo preserve the configuration and cache files:ADB uninstall-kTo send a command to a specific simulator/device instance:Examples are as follows:Adb-s emulat
The tools folder of the SDK contains the android operation's Important Command ADB. The ADB is called (Android debug bridge is the function of debugging bridge. Through ADB, We can debug the android program through ddms in eclipse. To put it bluntly, the debug tool is a major feature of Android, which is very convenient for developers.
Then, we need to know that
The ADB tool is a tool for connecting Android phones, easy to use, development and testing are often used in everyday work, and today I'll take a record of what I'm using.1, equipment environment preparation, one PC, Android phone, using the Xiaomi mobile phone. USB data cable, pay attention to the quality of the data line, almost the quality of the data line is sometimes not connected, network environment is wifi, download
The ADB tool is a tool for connecting Android phones, easy to use, development and testing are often used in everyday work, and today I'll take a record of what I'm using.1, equipment environment preparation, one PC, Android phone, using the Xiaomi mobile phone. USB data cable, pay attention to the quality of the data line, almost the quality of the data line is sometimes not connected, network environment is wifi, download
Tags: public key Check HTTP achievement strong computer font on ACKUnanthorized issues when using adbADB devices a unanthorized issue when ADB starts up.
Check if USB debugging is turned on.
Reseat the USB cable for an authorization prompt
Restart adb:adb kill-server and adb start-server
If none of the above methods are possible, use the following steps
Delete Adbkey and adbke
Encountered a problem description:Run the Android console output[2012-07-18 16:18:26-] The connection to ADB are down, and a severe error has occured.[2012-07-18 16:18:26-] You must restart ADB and Eclipse.[2012-07-18 16:18:26-] Please ensure this adb is correctly located at ' D:\java\sdk\platform-tools\adb.exe ' and can be executed.Solve the problem:Baidu Google
Tags: des android io ar os sp for strong filewhat is ADB?: ADB's all called Android Debug Bridge, is the role of the Debug bridge. With ADB we can debug the Android program via DDMS in Eclipse, which is the Debug tool. ADB has a special way of working, using ports such as the socket TCP 5554 to communicate with the IDE and QEMU, by default
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.