How to enable Heap updates on my android client

Android

Android Problem Overview


Under DDMS, there is a HEAP tab, and then I click my android application under 'Devices'. But it said:

Heap updates are NOT ENABLED for this client

How can I enable Heap update for my android application?

Android Solutions


Solution 1 - Android

On the devices tab, there are a bunch of icons starting with a green bug. To the right of that is the "Update Heap: button which looks like a green cylinder that is half full. Press that button and the heap tab should be enabled. Click "Cause GC" to populate the Heap tab.

enter image description here

Solution 2 - Android

It is worth to mention one thing, you have to put in android:debuggable="true" in the AndroidManifest.xml (under Application tag) in order to see the process list appear under the available device/simulator (in DDMS). Even though you are not trying to run your application in debug mode.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionmichaelView Question on Stackoverflow
Solution 1 - AndroidEric LevineView Answer on Stackoverflow
Solution 2 - AndroidSam YCView Answer on Stackoverflow