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

霸气de小男生 提交于 2019-11-29 06:14:02

问题


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?


回答1:


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.




回答2:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!