0

Running DDMS to the emulator allows me to view all currently-running apps and their respective port number which I can then use on JDB.

DDMS to an actual device does list the device in the DDMS window, but I cannot expand it to show all currently-running apps.

AKA, all apps on the emulator are debug-able but not those on the device.

Am I doing something wrong on the device?

bunbun
  • 2,595
  • 3
  • 34
  • 52
  • You are not doing any thing wrong :) but you have not permission to see that section on real device, until you have a rooted device. – Pankaj Kumar Feb 11 '14 at 07:22
  • I see! Can't believe I didn't think of that, since this device is new to me. I'll root and see how it goes. – bunbun Feb 11 '14 at 07:24

2 Answers2

0

Rooting the phone immediately works.

Credits to Pankaj Kumar for the tip!

bunbun
  • 2,595
  • 3
  • 34
  • 52
0

Simpy rooting my device does not work in my case.

If you only want to show information of your app, adding "android:debuggable="true" in your 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