Questions tagged [android-profiler]

Questions related to new Android-Profiling, including monitoring apps CPU, memory, and network activity. This also includes analyzing captured heap dumps, viewing memory allocations, and inspect the details of network-transmitted files.

The new Android Profiler window in Android Studio 3.0 replaces the Android Monitor tools. These new profiling tools provide realtime data for your app's CPU, memory, and network activity. You can perform sample-based method tracing to time your code execution, capture heap dumps, view memory allocations, and inspect the details of network-transmitted files.

Read more here.

122 questions
2
votes
0 answers

Android Studio Network Profiler cyrillic

I have an encoding problem in the requests and responses of the android profiler. When I make a request, in Logсat, log of Okhttp displays the request and the answer in Cyrillic. In this case, the same data in the Android Network profiler is…
Taxi
  • 21
  • 1
2
votes
1 answer

How to export the content of an Android Studio .trace file to a text file

I have done several performance tests with Android Studio Profiler. I exported the files but i want to export the information that is represented graphically to a text file (% of cpu usage, timestamps, etc). I have tried to use dmtracedump but I get…
2
votes
1 answer

Android profiler doesn't show fragment lifecycle

Android community, I just started using the Android profiler tool using the Android Studio IDE, but I can't see the life cycle fragments as you can see in the screenshot below: I can just see the life cycle of activities Can anyone help me in this…
hamza
  • 31
  • 4
2
votes
0 answers

Android huge memory use by list of icons

I have a recycleriew displaying list of installed apps. At first I took the icons directly from the ResolveInfo packages, however I noticed the slow performance, so I decided to parse all installed apps to my app's database and save icon images as…
2
votes
1 answer

Android profiler tool is avail for flutter app in Android studio?

In Android studio we have handy tool to Measure app performance with Android Profiler, through that we can able to trace our apps Memory, network, CPU usages.. I don't see that option tool in my studio when i'm working with flutter app's, Android…
SaravanaRaja
  • 3,228
  • 2
  • 21
  • 29
2
votes
0 answers

OOM Error occurred when the android studio profile was opened

Android version : 8.0.0 When I call file.list, if I open the android studio profiler to monitor the memory, it is easy to OOM error, as follows: java.lang.OutOfMemoryError: EnsureLocalCapacity at java.io.UnixFileSystem.list0(Native Method) at…
LaymanZ
  • 51
  • 2
2
votes
1 answer

How to use Android Profiler and Logcat in AndroidStudio 3 in Flutter projects

Running emulators with API 28 or 27 via Android Studio, the Flutter configuration successfully launches the application and there are no other problems, i.e. all other features work fine. Why is the device not being detected by the Android…
creativecreatorormaybenot
  • 114,516
  • 58
  • 291
  • 402
2
votes
0 answers

Android Studio Profiler very laggy in ubuntu 16.04

Every time when I open the profiler everything starts to lag. My configuration : ubuntu gnome 16.04, i7 7700, 16 gb RAM, Android Studio 3.1.2
ivametal
  • 21
  • 3
2
votes
0 answers

java.lang.UnsatisfiedLinkError: No implementation found for long com.android.tools.profiler.support.network.HttpTracker$Connection.nextId()

I just enabled advanced profiling in Android Studio. But my app is crashing after enabling it with following error: java.lang.UnsatisfiedLinkError: No implementation found for long…
Er.Rohit Sharma
  • 696
  • 5
  • 21
2
votes
1 answer

Is there a way to monitor battery usage in real-time in android studio?

There's an option to check the battery usage history presented here. But is there a way to monitor battery usage in real-time as done in the Android Profiler with CPU, memory and network?
1
vote
1 answer

How to make line chart with data from CPU in Flutter?

In Android I could use profiler to have CPU line chart or something similar to Android chart like in below picture. I have tried this CPU Profiler, but there is no such data. How to download such data to even make it in Excel? :)
Chris
  • 63
  • 6
1
vote
2 answers

Getting CPU and memory averages for Android app

I have multiple Android application that require retrieving the CPU and memory average when running on a physical device. All applications can be open within Android Studio but not all are native, there are Flutter and React Native projects as well.…
mrk
  • 65
  • 1
  • 8
1
vote
2 answers

Cannot get rid of "Please select Android SDK" error when trying to profile APK file in Android Studio

I have found plenty of similar issues like this but none of the solutions worked for me or profiling environments specifically. What I have tried: Installed the correct version under File -> Settings -> Android SDK, Set the correct version under…
llywelyn
  • 31
  • 3
1
vote
0 answers

Android Profiler and Layout Inspector don't detect device

Just installed Android studio in a new Mac and updated to Chipmunk. I was able to launch my app normally in an emulator, except I wasn't able to connect to Layout Inspector or Profiler. Connection assistant, adb and Logcat are able to detect the…
1
vote
0 answers

How to handle when DatabindingImpl and Parcelable class retain in memory after app closed?

After app close few classes retain in memory. App application (@HiltAndroidApp), DataBindingImpl and Language class which extend Parcelable retain in memory. How to handle this issue? Please see the attached memory heap dump in memory profiler.
1 2
3
8 9