4

I need to profile an application developed for android platform. I've already used jprofiler in web-application development. I use Android Studio (and Eclipse with ADT plugin) and actually i use DDMS to check cpu and heap memory comsuption.

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

xcesco
  • 4,690
  • 4
  • 34
  • 65

2 Answers2

4

JProfiler is a tool for profiling applications running on the Java virtual machine. Even though Android uses the Java language, it runs on a different virtual machine, so you can't use any of the Java profilers such as JProfiler or YourKit to profile the applications.

Instead, you need to use the Google-provided tools such as DDMS.

yole
  • 92,896
  • 20
  • 260
  • 197
2

For Android, DDMS is deprecated, instead use Android Profiler.

george24
  • 331
  • 1
  • 3
  • 11