Mohd Abad
Mohd Abad

Reputation: 45

DDMS doesn't show process list on device

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

Upvotes: 0

Views: 1735

Answers (3)

Hao Fu
Hao Fu

Reputation: 106

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

Upvotes: 2

Vishal Chauhan
Vishal Chauhan

Reputation: 917

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

Heap Viewer Walkthrough

Hope this will help you..

Upvotes: 0

Mike Yang
Mike Yang

Reputation: 2934

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

Upvotes: 0

Related Questions