0

When I use emulator and install an apk file on it and run it,I can see it's package name in Devices window of DDMS perspective.But when I install that apk file on real device and connect it to PC and run that App,I can not see it's package name belove of device name in Devices window.I enabled usb debugging before.Is there any setting that I forgot to set it?

enter image description here

4

2 回答 2

0

它只显示在模拟器和可能植根的手机中。
使用 USB 调试在真实设备中调试您的应用程序。
确保您的手机中启用了 USB 调试。
如果不是,您可以通过进入设置>开发人员选项来启用它

于 2013-10-19T19:55:44.500 回答
0

在 Eclipse 菜单中选择 Run->RunConfigurations
在左侧窗格中选择要运行的项目。
在右窗格中选择Target选项卡。
选择Always prompt to pick deviceApply然后按Close
像使用模拟器一样运行项目。
出现一个窗口,选择您的设备。
该应用程序将安装在设备中并自动运行

于 2013-10-19T20:16:34.137 回答