Pregunta

As the title says, my Android phone is plugged into my computer and showing up in the DDMS, but when I click run to run my app, it just uses the emulator. I have checked the phone name and serial number, it is correct. I have checked the box on the phone "allow USB debugging". It's a Samsung Galaxy phone. It did run another app I made but I'm new to Android so this is the second app I have tested. No one seems to have asked this question so it sounds uncommon. Thanks.

¿Fue útil?

Solución

Select your app in the Package explorer (usually on the left side in Eclipse) now select Run>Run Configurations in the Menu.

A Window will pop up, search for "Android Application">YOUR APP NAME and select the "target tab". Make sure "Always prompt to pick device" is checked.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top