We will cover some other tools you will need in everyday Android development.
Let's start with the following:
- adb dumpsys: To get information about a system and running an application, use the adb dumpsys command. To get a memory status, execute the following command--adb shell dumpsys meminfo <package.name>.
Next important tool is as follows:
- adb shell procrank: The adb shell procrank lists all the applications for you in the order of their memory consumption. This command does not work on live devices; you connect only with emulators. For the same purpose, you can use--adb shell dumpsys meminfo.
- For battery consumption, you can use--adb shell dumpsys batterystats--charged <package-name>.
- Next important tool is ...