132 questions
0
votes
1
answer
119
views
"no debuggable or profileable process" in android studio
My Android device is an AOSP 13 launch device, based on x86_64 architecture, bootloader is also unlocked. I downloaded latest Android studio from Ubuntu software as my testpc is Ubuntu machine. I have ...
2
votes
0
answers
166
views
How to revert to the old Profiler view in Android Studio?
I recently updated Android Studio to the latest version (Android Studio Koala Feature Drop | 2024.1.2) and noticed that the Profiler chart has changed. I prefer the older Profiler view.
Is there a way ...
0
votes
1
answer
137
views
What to look for in Android Profiler to understand performance issues?
In my app, I navigate from the main page to Google Maps and display markers on the map. App's CPU utilization shoots up to 90%, and my memory reaches 300 from 180.
I took this memory heap dump, what ...
0
votes
1
answer
86
views
How to run android profiler on Android TV apps efficiently?
I am working on Android TV app development. Since most of the Android TV devices have limited memory (max 2-3 GB RAM), running android profiler on these devices slow down the device and profiler is ...
4
votes
0
answers
758
views
androidx.profileinstaller.ProfileInstallReceiver is found on release build with android:exported="true". Does it create any security issue?
When I analyze my Manifest file of my apk, I found that androidx.profileinstaller.ProfileInstallReceiver is added with android:exported="true". The receiver is not present on my merged ...
0
votes
1
answer
122
views
Is there a way to find out the cause of occasional huge memory usage spike?
I am doing memory profiling with Android Studio and have noticed the memory occasionally (every one or two hours) has a huge spike:
Since this is random, it is impractical to stare at the screen to ...
1
vote
1
answer
320
views
How to track memory leak in JNI with Android Studio Profiler or others [duplicate]
I want to know how to track memory leaks in JNI with Android Profiler.
I have an app using NDK and it has memory leaks in JNI. I checked it in Profiler.
JNIEXPORT jfloat JNICALL
FACE_ENGINE_METHOD(...
1
vote
0
answers
65
views
Is the amount of memory displayed in the Android profiler the same as what getTotalPss() of the Debug.MemoryInfo class returns at a specific instance?
I am using Debug.MemoryInfo class to log the various statistics about the memory mappings for a process.
Here is the implementation:
Debug.MemoryInfo appMemoryInfo = new Debug.MemoryInfo();
Debug....
0
votes
1
answer
75
views
Android memory categories "Graphics" and "Others" don't get garbage collected
The memory consumtion rises indefinetly and I doubt that a memory consumtion of nearly 1GB is normal. My app is a very image-heavy app that uses Picasso as the image library. But even with the ....
0
votes
1
answer
464
views
How to get Android Studio Memory Profiler as shown in the official document
I am using Android Studio Giraffe 2022.3.1 Patch 1. The memory profiler looks like the following:
However, the official document shows the memory profiler looking like the following:
Pay attention ...
0
votes
1
answer
75
views
Is there a limit for Android Studio's Native Memory Profiler recording?
If I use Android Studio's Native Memory Profiler to record native memory allocation, it works fine if I record for a minute or so. However, I get the following if I view a recording that is long (e.g.,...
2
votes
0
answers
248
views
Android Camera occupies a lot of memory after released
I have a very wired situation here:
open camera, make some preview
stop preview and release everything and finish current activity
check the memory leak, and it shows nothing(case i have already ...
0
votes
1
answer
156
views
How to collect memory profiler information from android studio?
I want to collect the number of allocated objects (java object) in each method of an Activity in an Android application. For example,
void onCreate(...) {
...
...
ObjectType1 obj1 = new objectType1();
...
0
votes
1
answer
74
views
Combining different profile configuration data from Android device in Unity application
I'm having a task to understand why long-time developing Unity application launches too slow on Android device.
I need information about the whole launching time so I decided to use Android Studio's ...
0
votes
1
answer
136
views
Android Profiler timeline vs heap dump values
I created a sample app and ran the Android Profiler. Just before getting a Java/Kotlin memory dump, I saw these numbers:
However, in the memory dump window I see these:
View App Heap
View All Heaps
...