1. What is DDMS
The full name of DDMS is DalvikDebug Monitor Service, which is the Dalvik virtual machine debugging and monitoring service in the Android development environment. Provides screen shots of test equipment, viewing threads and heap information of specific processes running, Logcat, broadcast status information, simulated phone calls, simulated receiving and sending SMS, virtual geographic coordinates and other services.
If you want to learn more about logcat, I saw a good video, but the number of clicks is simply too high. This amount of clicks is not worthy of such a good video (put it in my favorites!)
I will share this first: https: //www.youtube.com/watch?v=EE1Swm7DwHQ
2. How to open DDMS in Android Studio
First find the SDK directory
File——"Settings
System Settings——"Android SDK
Enter the tools under this path, double-click monitor.bat and
then you can see it (open this when testing the app)
Three, generate test report
To test the performance of an app, we need to use the following tool Emmagee:
I am ready, just click below to download and install it.
Link: click here
Extract code: 75ki
I tested this by connecting to a real device. The following is what the teacher told me. I really hope that I have a bad phone at hand to use it for practice (the emulator occupies memory and is slow, but every time I use my only mobile phone to run it, I am afraid , I will advise you not to use the real phone
when something goes wrong with your phone...) Install Emmagee on the real phone, and then monitor an application. For example, I monitor TikTok , find the app I want to test in the emmagee software, and then DDMS will Keep running
Then go to the local folder of your mobile phone to find this file and send it to your computer QQ (there are other ways, this is what I can think of)
Open is garbled
The solution to the garbled code
First save it on the desktop, select Notepad as the opening method, open it with Notepad,
and then save it on the desktop and save it as a csv file. It should be noted here that the code is ANSI
so that the test report is automatically generated
https://blog.csdn.net/hanhanwanghaha Welcome to follow this super invincible and cute duck. If you have any questions, you can leave a private message and you will reply if you see it!
Creation is not easy, if reprinted, please indicate the source
I hope you and I can keep walking on the road of dreams, rushing! ! !