How do you set an Android phone to be a “debug” device?

跟風遠走 提交于 2019-12-08 12:30:51

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!