2

I've read here and here that there is a device setting to support equivalent behavior to inserting android.os.Debug.waitForDebugger() in your application.

Apparently, there is a pre-deployed tool on the emulator called dev tools that provides this option. It's there in the application menu.

Can I install dev tools on a real device?

Community
  • 1
  • 1
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246

2 Answers2

4

You can pull the DevTools application from an emulator and push it to a real device.

Joe
  • 14,039
  • 2
  • 39
  • 49
0

The dev tools is something that exists in the emulator, but not in real devices. AFAIK it can't be installed either.

Macarse
  • 91,829
  • 44
  • 175
  • 230
  • Actually you can install Dev Tools on a real device. But there are some caveats (the System Image and Dev Tools must be signed with the same key). http://developer.android.com/tools/debugging/debugging-devtools.html. – jww Aug 28 '12 at 18:04