Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hook up Android Studio emulator from IDEA?

I was running into some issues with stage height in Android devices with notches, specifically the Xiaomi Note Pro 6. So since I don't have that device I wanted to emulate it using Android Studio.

How can I launch an app made in IDEA (Air app) that runs in the emulator?, so I can get the debug info from stage sizes and all the jazz, cant find a way.

like image 749
Artemix Avatar asked Dec 08 '25 09:12

Artemix


1 Answers

You can use Help | Find Action | AVD Manager, configure and start Android emulator from IntelliJ IDEA, then in the Flash run/debug configuration use the Android device option. It should see the running emulator (it has to be x86).

like image 130
CrazyCoder Avatar answered Dec 11 '25 02:12

CrazyCoder