Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error running 'app: No target device found. Android Studio 3.6 Preview

Aa beginner, failed to run my first Android Application on Android Studio 3.6. How can I make the right setting to see the preview device in the emulator?

I tried the same question and discussion, but failed to solve my problem.enter image description here

like image 491
pythonbuddha Avatar asked Dec 31 '22 20:12

pythonbuddha


1 Answers

Here's the problem: You don't have any virtual devices. Here's a screenshot of what you probably should have to run (In AS 3.6 Preview):

enter image description here

Compare this to your picture where it says "No devices". So, I'm going to walk you through creating an AVD.

Now, since I do have AVDs, I'm just going to create one. click on that drop-down menu that for you says "No devices" and click "Open AVD Manager":

enter image description here

In the popup click "Create Virtual Device..."

enter image description here

In the Virtual Device configuration popup select the device you want and click "Next".

enter image description here

Choose the system image you want (you can go to the other tabs to see what's there) and click "Next"

enter image description here

Then name your AVD and click "Finish"

enter image description here

Now you should see your new Android Virtual Device:

enter image description here

Closing out of it, you can now run your application with the green "Run" arrow!

I hope this helped!

like image 140
SnakeException Avatar answered Jan 04 '23 16:01

SnakeException