fxam
fxam

Reputation: 3982

How to select a default USB device in a Debug Configuration in Android Studio?

In a Run/Debug Configuration, you can select Emulator and select a Prefer Android Virtual Device. But how do you select a "Prefer Android Device" when you select "USB device", so that you won't be prompted to choose which USB device when debugging?

Upvotes: 0

Views: 479

Answers (1)

Brenden Kromhout
Brenden Kromhout

Reputation: 4637

I don't think this is actually possible. I would hazard a guess that it won't let you because it can't guarantee that you'll always have that device plugged in when you go to run/debug your app.

Upvotes: 1

Related Questions