Attach Jprofiler to a running app on Android device

I need to profile an application developed for Android platform. I have already used jprofiler in web application development. I am using Android Studio (and Eclipse with the ADT plugin) and in fact I am using DDMS to check the compilation of CPU and heap memory.

Is it possible to connect Jprofiler to a running app on Android device?


source to share

1 answer

JProfiler is a tool for profiling applications running on the Java Virtual Machine. Even though Android uses the Java language, it runs in a different virtual machine, so you cannot use Java profilers like JProfiler or YourKit to profile applications.

Instead, you need to use tools provided by Google like DDMS.



All Articles