29

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?

Alexandru Irimiea
  • 2,513
  • 4
  • 26
  • 46
0xAliHn
  • 18,390
  • 23
  • 91
  • 111
  • This isn't directly related to your question, but KitKat is breaking when I'm trying to build to emulators and devices from Studio 3.0 preview; the failure comes when I upgrade to using gradle 3.0.0-alpha6. Is it possible that Kitkat got dropped all together? – TahoeWolverine Jul 17 '17 at 18:52
  • I have the same problem. Does anyone know the solution? – Sam Nov 24 '17 at 05:58

2 Answers2

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.

Tjaart
  • 496
  • 8
  • 20
0

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

Meriam
  • 945
  • 8
  • 18
  • 4
    this doesn't solve the problem: even if I enable advanced profiling I cannot perform app performance on pre-lollipop devices. – Manuela Jun 10 '19 at 15:01