the command is not the same as I listed separately, because this is sometimes useful.For example, we want to collect com.tianxia.test memory usage, analyze whether it will be memory leaks, footsteps similar:
1234567891011
#!/system/bin/sh #这个脚步比较粗糙, that's what this means file=/sdcard/cpu/mem_info. log rm $file until [1-GT 10000] do echo-e "\n\n\n\n\n---------------" >> $file date >> $file dumpsys meminfo com.ti
background, and then open a other programMode 4:For All ProgramsOpen Mobile Developer Options-Background process restrictions-do not allow background processes, also press the home key back to the background, open another app and then quit, the process was killed.Mode 5:Via simulator or a root-based real machine:1. Press the home button to exit your program;2. In the console, enter the following command (W
In Android application development, we will use variousCodeDebugging: in fact, after Android development, we may encounter some random problems, such as high CPU utilization and Memory leakage. We cannot perform Code debugging simply, we need a system log and so on. Below I will explain some common commands and methods I have encountered in my work.
1. logcat commandThis
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
Here we use the Internet download QQ mobile phone installation program QQ_244.APK as an exampleFirst, the installation programThere are two ways to do this:
With DDMS installation, drag the program installation package to the emulator Data/app directory to install automatically
650) this.width=650; "title=" capture. PNG "src=" http://s3.51cto.com/wyfs02/M01/6D/11/wKiom1VbIhjgdRchAAIoAnY2mLo232
1 after executing adb shell [email protected]:/#是什么意思?This is a common format in Linux terminals.This shell is run as root , the hostname is Android, currently in the root directory/,#代table is the root permission.Typically, the ADB shell is started by default with a UID of $-a shell user , which requires the Android root to enter the SU switch to the root user. If root is displayed directly, it may be the
* * has been doing web testing, a new job new start, decided to try new tests, so chose a never touch app test.How to say, for the people who do the Web test, the app really does not have a bit of difficulty ... The test process is the same, the test method is similar, the difference is that the app test seems to be less demanding for testers ... A wrong transfor
First enter the directory where the FastBoot file is locatedConnect Hardware commandsFastBoot devicesDelete Recover, Boot,systemFastBoot Erase RecoveryRe-brush, Boot,systemFastBoot Flash Recovery cn170.imgSimply swipe the boot.img and system.img into the system to complete the system refreshBad supplement:The FastBoot command hasLoad Driver | FastBoot Devices | [This meaning is estimated to be loaded FastBoot drive]Erase | FastBoot Erase xxxx | [If I
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.