Configure adb environment variables and adb Environment Variables
Reprinted please indicate the source: http://www.cnblogs.com/cnwutianhao/p/6557571.html
Android Developers often use the adb command to push, pull, install, and view databases. Record the adb configuration process for future use.
Before configuring
Connect adb with wifi and adb with wifi
Generally, USB is used to connect a computer to an Android device. However, wifi can also be used to connect to an Android device through a standard TCP/IP connection.
Step 1: Set --- WiFi --- advanced to view the IP address of the current WiFi;
Run the following command:
Complete.
Wifi key display adb cannot c
Android adb and Android adb
Reference: http://blog.csdn.net/veryitman/article/details/6437090
1.Go to shell
Enter DeviceShellAdb shell
2. Install apk
Adb install
3. Copy files from the device to the Local Computer
Adb pull
For example, adb pull/sdcard/360/test.txt d: \ m
* * The processing method when encountering Mount:read only file system or ADB remount:read only file system when using ADB is as follows: The
method described in this article applies to situations where the/system read-only permission (RO) cannot be modified with the Mout command. in
General
, when the/system does not have RW permission, the system can not push, and so on, in general, through the mount
Configure adb for mac and adb for mac
The blogger recently used a macbook and made android development much better. The speed of program compilation really made me feel great, especially when I used windows to start eclipse for several minutes, it took a long time to compile, but I used mac to find that adb didn't know how to configure it. I seldom studied non-wi
Label: 1. Open the Winows menu, enter the cmd command, click OK, and enter command mode. 2. Enter Command D: (the D here indicates that your SDK is stored under the disk) then enter the CD 3. Then select your SDK path and copy the path. 4. Click cmd on the mouse, select Edit, paste the copied path into the command line Enter.5. Then enter the command adb start-service to open adb.appears, which means that the ADB
Label:First, to get root permissions, to read and write permissions to the fileStep: 1, the phone root;2. Cmd enters the command line to run the ADB shell command (ADB has been configured in the environment variable), at which point the command becomes $ start;3, run the SU command, switch to root permissions, at this time the command becomes the # start;4, run chmod 777 command, followed by the file path,
[ADB command Article 3] What should I do if I forget my mobile phone password (access permission password or lock screen password ?, Adb lock screenThe access restriction password is forgotten, or the lock screen password is forgotten. As a result, some programs (such as text messages, address book, and other important programs) cannot be opened, affecting normal use. It is too troublesome to brush the mach
The following basic commands are commonly used by ADB:
ADB devices List your devices
AAPT dump badging
ADB logcat View Logcat logs
ADB logcat > Path \ file name log stored in the file under the corresponding path
ADB kill-server kill
ADB server didn ' t ACK this problem will be annoyed a lot of novice friends, I have just started to do Android when also encountered this problem, but their own Baidu, Google what, do not know how to solve, see a lot of new friends in the group will ask this question, To tell the truth I do not have a solution to this problem of the ultimate method (hundred test lark of the kind, haha), I did not encounter nor serious to treat him, today, is today, I
Remote adb in windows and remote adb in windows
Android uses the adb command to remotely install apk
Run cmd to your adb directory, usually under platform-tools.Adb devices list all devices
Adb connect xxx. xxx connect to this device
, the report is generally stored in the/data/misc directory 11, view permissions AAPT dump badging apk Path (View APK Package's PackageName, Versioncode, Applicationlabel, launcheractivity, permission and more)12. Test the app for excessive power consumptionadb shell logcat-v time the sending alarm line in the export log does not contain the application package name to be tested. If present, it is necessary to pay attention to whether the type 0 and 2 sending alarm is frequent, if more than once
Android advanced adb command, android advanced adb
Use the command line to execute the android adb command. The steps are as follows:
1. Find adb in the ADT sdk, as shown below:
2. Run cmd to start the command line and drag the adb executable file into the command line
The DB is the SDK comes with the tool, can realize the bridge function;ADB shell can interact with the mobile phone system, based on the operation of the Andoid Linux systemadb common commands:1. View the deviceADB devicesThis command is to view the currently connected device, the Android device connected to the computer, or the emulator will list the display2. Installing the SoftwareADB install This command installs the specified APK file on the devi
Label:[Experience tips] teach you to configure ADB environment variables on your Mac!! Attach the ADB's inability to identify M2 solutionslandlord table in 2012-11-13 15:47:26
recently small series suddenly changed the Mac to do the main machine, as a habit in Windows using the ADB brush and load-loading software of the cock wire, suddenly can't use the AD
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 Monkey
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
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
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.