Filip Eriksson
Filip Eriksson

Reputation: 977

Can't launch android app from eclipse on my Samsung Galaxy S4

I am trying to run a simple android app on my Samsung Galaxy S4 phone (the default hello world app). When I try to launch the app from eclipse my phone is in the list of options but its target is unknown and its state is unknown. So it is not possible to press okey and launch the application.

The thing is that this has worked before (launching my apps from eclipse on my phone) so I don't know why this doesn't work.

Upvotes: 0

Views: 700

Answers (4)

Filip Eriksson
Filip Eriksson

Reputation: 977

Thank you for all the help guys. I restarted my phone and now I got the question to accept that the app could be run on my phone and now it works.

Upvotes: 1

Vincent Paing
Vincent Paing

Reputation: 2475

Try this

Windows => Open Perspective => DDMS

And reset adb there and try it again

enter image description here

Upvotes: 0

Nhan Nguyen
Nhan Nguyen

Reputation: 495

If it has worked before, you should unplug your phone, close Eclipse, stop adb process then reconnect the phone and start Eclipse

Upvotes: 0

SantiM
SantiM

Reputation: 312

First, you have to activate the developer mode. Then, once you connect your phone to the pc, it may ask for permission to execute the app: you grant it and now instead of unknown you should get the model of the phone or somethign similar (don't remember exactly right now).

Upvotes: 0

Related Questions