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

Student Student
  • 960
  • 2
  • 14
  • 24

2 Answers2

0

It only shown in emulators and probably rooted phones.
Use USB Debugging to debug your app in a real device.
Make sure USB debugging is enabled in your phone.
If its not you can enable it by going in Settings > Developer options

johntheripp3r
  • 989
  • 6
  • 15
0

In Eclipse menu choose Run->RunConfigurations
In the left pane select the project to run.
In the right pane select the Target tab.
Choose Always prompt to pick device. Press Apply then Close.
Run the project like you do with emulator.
A window shows up, select your device.
The aplication will be instaled in the device and run automatically

ramaral
  • 6,149
  • 4
  • 34
  • 57