Here we use the Internet download QQ mobile phone installation program QQ_244.APK as an example
First, the installation program
There 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.jpg "alt=" Wkiom1vbihjgdrchaaioany2mlo232.jpg "/>
Installed software is in this Data/app, System/app is the software in the system, Data/app the software in this folder is to occupy the memory of the phone
2. Install via ADB command
Copy the qq_244.apk installation file to Sdk\platform-tools, which is the same folder as ADB
CD to the folder below to execute the command adb install QQ_244.APK, after successful installation prompt success.
650) this.width=650; "title=" capture. PNG "src=" http://s3.51cto.com/wyfs02/M01/6D/11/wKiom1VbHqri4OTqAAHfYDsIqb0252.jpg "alt=" Wkiom1vbhqri4otqaahfydsiqb0252.jpg "/>
650) this.width=650; "title=" capture. PNG "src=" http://s3.51cto.com/wyfs02/M02/6D/0C/wKioL1VbII2QC5tAAAC7Pfgnwuw147.jpg "alt=" Wkiol1vbii2qc5taaac7pfgnwuw147.jpg "/>
Second, uninstall the program
There are two ways to do this:
1. Execute adb shell pm list Packages command
You will see a CMD window showing all the installed app package names,
COM.TENCENT.MOBILEQQ is the QQ package name we just installed
650) this.width=650; "title=" capture. PNG "src=" http://s3.51cto.com/wyfs02/M02/6D/0C/wKioL1VbIfizpPl8AAFjlCQj2IE140.jpg "alt=" Wkiol1vbifizppl8aafjlcqj2ie140.jpg "/>
ADB uninstall COM.TENCENT.MOBILEQQ can uninstall QQ program
650) this.width=650; "title=" capture. PNG "src=" http://s3.51cto.com/wyfs02/M00/6D/11/wKiom1VbITaiRPpuAABzmA_UWrQ514.jpg "alt=" Wkiom1vbitairppuaabzma_ Uwrq514.jpg "/>
2. You can also uninstall the program by DDMS the red minus button in the upper right corner
650) this.width=650; "title=" capture. PNG "src=" http://s3.51cto.com/wyfs02/M01/6D/0C/wKioL1VbJH7AwhlYAABS5YgMkgc542.jpg "alt=" Wkiol1vbjh7awhlyaabs5ygmkgc542.jpg "/>
Three, pressure test-monkey (System comes with)
Execute adb shell into mobile Linux environment
ls Data/data Show packages that can be stress tested
#monkey-P COM.TENCENT.MOBILEQQ-V 500
Where-p indicates that the object package –v represents the number of events
During the run, the application in emulator is constantly switching the screen.
650) this.width=650; "title=" capture. PNG "src=" http://s3.51cto.com/wyfs02/M01/6D/0C/wKioL1VbJ6iDRQ8iAAFZwsHekCs000.jpg "alt=" Wkiol1vbj6idrq8iaafzwshekcs000.jpg "/>
This article is from the "Nothing-skywalker" blog, please be sure to keep this source http://tianxingzhe.blog.51cto.com/3390077/1652933
Android Phone Monkey command automated stress test