Reputation: 977
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
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
Reputation: 2475
Try this
Windows => Open Perspective => DDMS
And reset adb there and try it again
Upvotes: 0
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
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