Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does eclipse SOMETIMES prompt me which device to launch my app on?

Why does eclipse SOMETIMES prompt me which device to launch my app on when there is only 1 phone connected to my machine? Sometimes, it stays like this for months.... how to fix?

It says my target phone is 2.3.4 and there is a small yellow exclamation warning next to it.

like image 545
hunterp Avatar asked Aug 18 '11 08:08

hunterp


1 Answers

Its because your application Target mode has set to manual. To solve :

Right Click on your project-> Run as -> Select Run Configurations ->
In that select Target Tab ->Select Automatic instead of manual 

Click on Apply and run.

Now your app doesn't prompt for a device.

For a reverse case Select Manual.

Hope it helps.

like image 65
Udaykiran Avatar answered Oct 13 '22 19:10

Udaykiran