Written in front of the crapGeneral Android developers will use Eclipse,android Studio to observe the log output, in fact, the background is to use ADB to print the log, here is how to let the log output to the cmd window, not eclipse,android studio, Testers can use this method to fetch logs to developers, and develope
(10387): Group2 ontouchevent Birkenau ﹀ 彂 Bang à Huan 锛 欰 ction_moved/logcat (10387): Group1 onintercepttouchevent Birkenau ﹀ 彂 Bang à Huan 锛 欰 ction_upd/logcat (10387): Group2 ontouchevent Birkenau ﹀ 彂 Bang à Huan 锛 欰 ction_upThe reason is garbled: Android is using UTF-8 characters, and the cmd default character set is ANSI, Chinese environment is GBK.First step: View the current encodingC:\USERS\ADMINIST
Run the cmd command to generate an android signature certificate.
Run the cmd command to generate an android signature certificate. If you have time, write an eclipse-exported apk with a signature, which includes generating a new signature. Now let's talk about how to generate a signature certificate in
I've described how to configure environment variables for the Android SDK in the Android Foundation Eclipse build Android development environment and create your first Android project. We can use these Android commands directly in the Windows command Prompt (
Because you must run the appropriate emulator or connect to the real machine before running Monkeyrunner, Monkeyrunner cannot connect to the device, there are two ways to run the emulator: 1, execute simulator 2 through Eclipse, invoke simulator in CMD, This document addresses the problems and workarounds that occur when you open the emulator in CMD.1. Create simulatorAfter installing the
Android when it started, really let some small number of software fire A, cut fruit, Tom Cat, blowing skirt is one of the representatives, of course, there is a strong practical shutdown software, we go to Baidu search.
Screenshots:
I. Understanding the CMD command
What we do under CMD, here's a few details. We just need to know the following commands.
Re
The main reason is the issue with the ADB version:1, find Adb.exe path such as: G:\BaiduYunDownload\Android\android-sdk\platform-tools, put the path to the environment convenient-"System variables-" path behind, Remember to add a semicolon before placing it in the front, and to distinguish it from other directories,2, open the CMD terminal, enter ADB version, dis
The cmd command generates an Android signing certificate and is available to write an eclipse export signed apk, which includes generating a new signature. Now it's time to talk about how the CMD operation generates the signing certificate.1, DOS access to the JDK Bin directoryRun the following command: Keytool-genkey-alias android.keystore-keyalg rsa-validity 20
Use the CMD command line to create an android User-Defined Simulator
1. First CD to the tools directory of the android SDK,
2. Enter the following command:Android create AVD-N myandroid1.5-T 2
Here, myandroid1.5 is the name of the simulator and can be retrieved at will. 2 In-T 2 indicates that an AVD Device of android1.5 is created, for example, 1 indicates
Transfer from http://blog.csdn.net/lfyx1357/article/details/74181331. Install Android App1) Launch Android emulator2) adb install (APK on the PC Path/) *.apk (upload the apk file to the Data/app directory with the emulator's own operating system)3) Browse open APK app in Android emulator interface2. Remove Android AppT
On the command line [CMD] use Emulator.exe to start the Android emulator in two ways:-EMULATOR-AVD (AVD name)-Emulator-data (image file name)The image files in the AVD directory are:文件 文件类型cache.img: VMS Alpha executableuserdata.img: VMS Alpha executableuserdata-qemu.img: data
Which image file is it?Obviou
Many developers may encounter a problem, that is, each time they use the ADB command, they need to CD to the directory where Android-SDK/platform-tools is located for execution. Otherwise, they will prompt that ADB is not an internal command, how can this problem be solved?
In fact, the system prompts that ADB is not an internal command, that is, the system cannot find this ADB command. Why can't it be found?
The mechanism is the same as that in Lin
CMD uses emulator.exe to start the Android Simulator -- emulator-data image file name
You can use emulator.exe to start the Android simulator in the command line:-Emulator-avd (AVD name)-Emulator-data (image file name)The image files in the avd directory include:
File file type cache. img: VMS Alpha executableuserdata. img: VMS Alpha executableuserdata-qemu.img
For Android app testing, if the handheld Android device is scarce, we can create an Android simulator AVD instead of simulating an Android phone device, and this article describes how to create and use the AVD.1. Create AVDEach AVD simulates a set of virtual devices to run Android
Sometimes the mobile phone is hot and consumes a lot of energy. You need to check the power consumption of the mobile phone and find out which application or backend service consumes power and resources. You can perform the following operations to find out the power consumption of the mobile phone.
Run the adb shell command in cmd.
SOURCE http://zhidao.baidu.com/question/1510889184474081700.html?qq-pf-to=pcqq.c2cRun python under Windows cmd, need to set environment variables, no environment variables can not run Python under CMD, now assume that Python is installed in the C:\Python25 directory, set the environment variable method as follows:Method One, my computer----high-level environment variables, such as the system variable, find
CommentsLock. bat file @ echo offtitle password verification SETLOCALset pwd = 0 set times = 3 echo ____________________________________________________________________________ echo you are using [Anlge] CMD, no command can be executed without the permission of [Angle]. The following is lock. bat file @ echo offTitle password verificationSETLOCALSet pwd = 0Set times = 3 echo _____________________________________________________________________________
Just touch the computer from the start of the DOS system, the DOS ERA there is no windows such a window interface, only a dark window, let you enter the command. So learn the DOS system operation,cmd command Promptis indispensable. Can tell you, most programmers or computer experts in the DOS system operation is very good, so rookie want to become a computer master, DOS command is not learning.Until today, the Windows system is still inseparable from
SOURCE http://jingyan.baidu.com/article/22a299b51e7ad89e19376ad5.htmlFor computer veteran, in the process of using Windows system, often need to enter some commands in the CMD window to operate. But if each time is in the CMD window with the CD command to the corresponding folder directory, it is inconvenient, especially in the folder hierarchy more and with the premise of the Chinese directory. If you ofte
The firewall-cmd command in CentOS 7, centosfirewall-cmd
In CentOS 7
Ftp service is currently available# Firewall-cmd -- add-service = ftpPermanently open ftp service# Firewall-cmd -- add-service = ftp -- permanentPermanently close# Firewall-cmd -- remove-service = ftp -- pe
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.