开发者

DDMS (Android debug monitor) doesn't list processes on Galaxy S II

I'm developing on a Samsung Galaxy S II using eclipse and the eclipse android plugin. This is not the first time I'm using DDMS on this computer or phone and everything used to work just fine.

Now, when I connect the device, DDMS shows it on the device list, LogCat shows output, I can even browse the file system, but clicking on the device does not show its process list.

I have tried restarting my computer, restarting the phone, turning debug mode off and on again, connecting it to开发者_如何学C another computer, checking the cable by connecting another device, all to no avail.

Any ideas?


Only a particular app being 'debugged' will show under a physical device.
Since unlike the emulator - an actual device does not run in debug mode.

If the app you wish to debug is not listed then make sure that it is:

  1. a debug build
  2. running on the device

Reference: https://stackoverflow.com/a/27111467/483588


  1. Settings -> Application -> Development -> USB Debug: set ON , Stay awake: set ON
  2. Replace other USB cables
  3. Install Samsung ADB device interface for development (Composite ADB Interface)

Well, that's all I know.


For whom ever gets here, I solved the problem doing what @Fenix Voltres said above, and changed the AndroidManifest flag to android:debuggable="true".


if you have 2 instances of eclipse open this could cause the problem.

close the other instances and try again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜