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?
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.
To enable the advanced profiling, follow these steps: Select Run > Edit Configurations. Select your app module in the left pane. Click the Profiling tab, and then check Enable advanced profiling. For more details, check Measure App Performance
来源:https://stackoverflow.com/questions/45143997/android-profiler-not-supported-for-kitkat-devices-google-glass-in-android-studio