0

i am new in android app testing. i need to find the heap size and heap uses for a app. so i am doing this by using DDMS but there is a problem that, its not showing the running process of device.

Device .Nexus 6.0.1. Can you tell me please What am I missing here??

any help would be appreciated.

See circle in the screenshot where the device is appear but its process not displayed

Mohd Abad
  • 45
  • 1
  • 8

3 Answers3

2

I just solved the problem.

If you only want to show the information of your app, adding android:debuggable="true" in the corresponding Manifest.xml.

Otherwise, rooting the device and flashing a customized boot.img with "ro.debuggable" set to 1.

Why? Check out: ro.debuggable

Community
  • 1
  • 1
Hao Fu
  • 106
  • 4
0

There are 3 possibilities:

  1. Try to change another usb cable.

    • There are many cables only for charge, not for data connection. buy a cable with data connection maybe solve your problem.
  2. Enable developer option

    • Go to the settings menu, and scroll down to "About phone." Tap it.
    • Scroll down to the bottom again, where you see "Build number." Tap it seven (7) times.
    • After the third tap, you'll see a playful dialog that says you're four taps away from being a developer. Keep on tapping, you've got the developer settings back.
    • You dive into that menu to do things like enable USB debugging
  3. Restart adb
    • adb kill-server
    • adb start-server
Mike Yang
  • 2,581
  • 3
  • 24
  • 27
  • Hi Thermos , I have done all above things which you have mentioned but still process not appearing. – Mohd Abad May 05 '16 at 07:36
  • 1. download genymotion to DDMS works or not on simulator 2. you can try to use another android phone to see it works or not – Mike Yang May 05 '16 at 08:37
0

Here you can find step by step process for find the heap size.

Heap Viewer Walkthrough

Hope this will help you..

Vishal Chauhan
  • 932
  • 1
  • 6
  • 11