Reputation: 61
I'm trying to run a simple code on my phone (Genymotion doesn't work, so I had to run it on my phone directly) and it tells me that "External task execution finished" but Choose device box doesn't pop up when I press "Run". I installed:
Furthermore, the Android Device Monitor is showing my device, so there's no problem with identifying my phone.
Upvotes: 5
Views: 14218
Reputation: 29
I had the same problem when I was trying to run the app through USB and also Deployment target option was not present there. I solved it by following these steps:
Hope this will work.
Upvotes: 0
Reputation: 163
Here is the instruction to run an application in a device: https://developer.android.com/studio/run/device.html
You can see how many devices connected from tools -> troubleshooting device connection error.
In my case, android studio found my device as a USB device but couldn't connect so I replaced the USB wire and it worked like a charm.
Upvotes: 0
Reputation: 159
In Android Studio:
Upvotes: 11
Reputation: 401
In the newer version of Android Studio the "Deployment Target Options"-Section is gone.
The Dropdown-Menu for choosing the device is in the toolbar next to the "run"-Options.
Upvotes: 5
Reputation: 1448
May be your deployment target is changed. Please check android studio setting
Click On
Run >> edit configuration >> under Android Application Click on App >> check deployemnt target option.
Upvotes: 4