Attach Jprofiler to running app on Android Device

无人久伴 提交于 2019-12-23 17:58:49

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/31743442/attach-jprofiler-to-running-app-on-android-device

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