Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android profiler not supported for Kitkat devices/google glass in android studio 3.0

From android studio 3.0 Android Monitor turned to Android profiler. But, when using google glass device or other android kitkat devices it's showing below message in android profiler window:

Device not supported. Android profiler requires a device with API 21(Lollipop) or higher.

What's the solution for Kitkat devices to use the latest Android Profiler once android studio 3.0 available for update in stable version?

like image 508
0xAliHn Avatar asked Jul 17 '17 12:07

0xAliHn


People also ask

What is the use of Profiler in Android Studio?

The Memory Profiler is a component in the Android Profiler that helps you identify memory leaks and memory churn that can lead to stutter, freezes, and even app crashes. It shows a realtime graph of your app's memory use and lets you capture a heap dump, force garbage collections, and track memory allocations.

What is profiling tools in Android?

The Android Profiler tools provide real-time data to help you to understand how your app uses CPU, memory, network, and battery resources. For details about each of the profilers, see the following: Profile CPU activity and traces with CPU Profiler. Profile the Java heap and memory allocations with Memory Profiler.


1 Answers

It seems that the Android Device Monitor (Tools->Android->Android Device Monitor) is still available.

I am having difficulty running its memory monitor, although it does seem to update its heap size in real-time.

It also gives you access to useful icons such as "Dump HPROF file" and "Run Garbage Collector".

The HPROF files can still be analyzed using Android Studio by dragging them into the editor region.

like image 163
Tjaart Avatar answered Oct 30 '22 05:10

Tjaart