问题
When I run an app from Eclipse and the Android Device Chooser comes up, some devices start with the Debug column set to Yes
. This allows you to debug an app on the device without setting debuggable
in the manifest to true
. Does anyone know how to change this on the phone? I'd love to be able to set this Debug attribute set to Yes for any given phone. Any way including rooting and installing a particular ROM is a welcome suggestion if it works. Just to pre-empt it, Settings > Applications > Development and enable USB debugging is not the answer.
The only other question I found related was this: Android Device Chooser - Debug column, but there weren't any good answers to this there.

回答1:
While I haven't been able to pin it down with definitive evidence, it seems this is due to the ROM being signed with test keys. While forums like XDA abound in mentions of test keys in relation to getting root, and you can find on StackOverflow how to detect test keys, I have as of yet been unable to find any information on what signing with test keys does. As far as I can tell though, this is one of those things.
来源:https://stackoverflow.com/questions/7936847/how-do-you-set-an-android-phone-to-be-a-debug-device