Emulator can be used to start the simulator. Emulator-avd G8-partition-size 150-memory 855 G8 is the name of my simulator, the size of the ROM set by partition-size, memory is the size of the Set RAM adb is the most commonly used tool, called Android Debug Bridge ).
It is a tool used to manage simulators and VMS. It is a cs program and consists of three parts:
1. A client. Run (PC) on your development machine and use shell to call another client throu
Tags: parameter cache folder replication Reader UI Test SDK UIL PortMobile test how can not understand the ADB command, the use of ADB command can improve efficiency * View Device ADB devices * Check if the phone is rooted ADB root * Check the package name on the device adb
This paper mainly introduces the commonly used commands and common directory of the ADB .1. Common command of ADBThe ADB devices lists all connected Android devices.The following command is for a single devices, if there are multiple devices, the following command will need to change ADB to Adb-s deviceIdThe
Command1. View Online devices ADB devicesThis command is to view the currently connected device, the Android device connected to the computer, or the emulator will list the displayWhere the marked red indicates the state of the device, which has three states:Devices: This status indicates that the device or emulator is connected to the ADB server.Offline: This status indicates that the device or emulator
Label:Install software: adb install apk (file name. apk)Reinstall the SOFTWARE: adb install-r apk (file name. apk)Uninstall APK software: adb uninstall APK (package name. apk)Check the run log on your phone, which can be used to check for errors: adb logcatSee if your phone is connected, and how many phones are connect
Label:First, view the help command, parameter--help D:\>adbshellscreenrecord--help Usage:screenrecord[options]
Start recording command:
ADB Shell Screenrecord/sdcard/demo.mp4 Note: Recorded phone screen, video format mp4, stored in the phone SD card, the default recording time is 180s. Screenrecord is a shell command that supports Android4.4 (API level 19) and supports video formats: MP4 2. Specify the video resolution size, paramete
ADB server is an out of date. Killing ... ADB server didn ' t ack* failed to start DaeRecently, during the development of Android project, this problem appeared inexplicably:ADB server didn ' t ACK ... ADB server is an out of date. Killing ... ADB server didn ' t ack* failed to start DaeSearch from the Internet a lot o
root authorityIf it is # Enter the Android system, get root permissionsMy own during the operation, the PC can ping through the phone, but the ADB connected to the phone, a little bit of a problem, prompted unable to connect to 192.168.1.100:5555, what is the reason? The original phone's default ADB service is not open, otherwise, other people's
root authorityIf it is # Enter the Android system, get root permissionsMy own during the operation, the PC can ping through the phone, but the ADB connected to the phone, a little bit of a problem, prompted unable to connect to 192.168.1.100:5555, what is the reason? The original phone's default ADB service is not open, otherwise, other people's
link the device normally 5. common commands for ADBAdbkill-server #停止adb服务进程Adbstart-server #打开adb Service ProcessAdbdevices #显示链接到的设备Adbshell #进入设备的shell模式Adbversion #查看adb版本 6. Frequently asked questions The common problem is not to find the device, the specific phenomenon is as followsC:\USERS\CC>
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
addition, if you want to execute only one shell command, you can do this in the following ways:ADB Shell [command]such as: adb shell DMESG will print out the kernel debug information5, AMYou can also execute the AM command in front of the ADB shell:Introduction to some AM commands:Start [options]: Start activity by specifying the intent parameter. Specific intent parameters refer to the official table.Star
We all know this running "adb shell" from the command line was pretty crap, and when using a latter BusyBox version whi CH have coloring support it s ultimately crap. One workaround is usually to start a Telnet server on the phone, and use putty to connect to that Telnet server. Actually there is a more easier-to-do-which also works for non- rooted phones.actually the Android Debug Bridge has a terminal connection feature (roughly speaking), which'll
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
Android Buffet for the ADB usage scenario
Android Buffet for the ADB usage scenario
Command List
Command List
ADB devices List of all devices
ADB start-server open ADB service
Label:Problem Description: An error occurred in Eclipse Logcat [2014-01-08 14:00:07-ADB] ADB server didn ' t ACK
[2014-01-08 14:00:07-adb] * Failed to start daemon *
[2014-01-08 14:07:24-adb] adb serve R didn ' t ACK
[2014-01-08 14:07:24-
1. start and close the ADB Service (adb start-server and adb kill-server)According to the author's test, the adb service may be available after the simulator runs for a period of time (this se
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.