Configure the ADB command on your MacWhen you use the ADB command in Mac OS, you should configure the variables as follows:First, the terminal input CD ~Second, enter touch. Bash_profile returnTouch: If not, create a file, if any, update the file timeThird, input open-e. bash_profileOpen: Opening fileThe file will open in TextEdit after the carriage return (if the environment variable is not configured, it
Part 1:
1. Configure the environment anroid variable in Ubuntu:
Run sudo gedit/etc/profile on the terminal to open the text editor and append # Set Android Environment
2. To run eclipse, you also need to configure Java environment variables.
# Set Java environment
Java_home =/home/loginname/JDK directory name
Jre_home =/home/loginname/JDK directory name/JRE
Export Path = $ java_home/bin: $ jre_home/bin: $ path
Export classpath = $ java_home/lib: $ jre_home/lib: $ classpath
Expo
it is running adb get-state-prints:offline | bootloader | dev Ice adb get-serialno-prints: adb status-window-continuously print device status for a SP ecified device adb remount-remounts the/system partition on the device read-write adb reboot [Bootloader|recove RY]-re
Tags: android test automation adb
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 other i
This question is a long story, is a lot of stories, in a month black night, under the direction of the leadership, the individual in the company's development of a computer for a, then feel very depressed, with a handy computer suddenly changed, opened a new computer, found already configured the JDK environment, installed good eclipse, suddenly feel good happiness , eliminating unnecessary trouble, so import project projects, into the project development. It was a pleasant thing, but suddenly e
writable ).
Adb shell
Cd system/app
Rm *. apk
21. Get administrator permissions:
Adb root
22. Start Activity:
Adb shell am start-n package name/package name + class name (-n class name,-a action,-d date,-m MIME-TYPE,-c category, -e ).
23. Release Port:
You can set any port number as the request port from the host to t
Tags: android using SP for file on problem BS ADLinuxUnder Ubuntu system, ADB is not an internal commandWorkaround:1, sudo gedit~/.bashrc2. Add the following two sentences to the file opened aboveExport android_home=/home/jason/develop_sdk/android-sdk-linux_86Export path= $PATH: $ANDROID _home/toolsThe latest SDK should be changed to: $PATH: $ANDROID _homoe/platform-toolsNote: "/home/jason/develop_sdk/android-sdk-linux_86" is the path to the SDK.(Expo
previously installed in the system
ADB install-s xxx.apk installs the software on the SD card instead of the internal storage
ADB uninstall-k xxx.apk (keep) uninstalls software, but retains user data
ADB Root gets root privileges
The ADB Shell am command
application having an interface activity start time, Refer to Thistime.
8.How to Stop monkey adb Shell PS | grep monkey The first number returned, which is the process number of the monkey Shell 7772 185 277516 22244 ffffffff 4010a58c S com.Android. Commands.monkey The kill command ends the process to continue typing: kill 7772[The process number just found 10. adb Shell Monkey--ignore-crashes igno
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
Tags: adb server didnt ack cannot bind tcp5037 failed to start DaemWhen we use several different sources of ADB in the system, it is particularly easy to come up with the error described in the title:ADB server is an out of date. The reason for this error is that the port that our ADB is bound to is occupied by other services, or that there are multiple services
[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
Five big permissions:Ugo Permissions、SetUID SetGID Sticky、ACL Permissions、chattr(Permissions at the file system level),SELINUX====================== file attributes and Ugo permissions ==================================ls-l list The properties of a file linux file types include the following six kinds:- Normal file d
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
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
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
Tags: overlay measured port set view events LCD brand insecure1. Start/Stop the ADB server command:adb start-server
(You typically do not need to manually execute this command, and when you run the ADB command, it is automatically tuned if the ADB server does not start.) )To stop the ADB server command:adb kill-server
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.