Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use Pixel 4 (Or any Android device that supports Face ID) in Android Studio emulator

I'm using Android Studio 3.6.2 and have Android R preview installed. Running Android Emulator 30.0.5. When I try to create a virtual device (From AVD) Pixel 4 is not listed.

I have followed the instructions on setting up a new emulator and have read this reddit post which links to this issue tracker. Someone posted that it might land late this year. But I have an immediate need to test Face ID. Is it possible to use the Pixel 4 in the Android Emulator?

like image 570
Kilmazing Avatar asked Apr 14 '20 17:04

Kilmazing


People also ask

What is an Android Virtual Device?

Android Virtual Devices (AVDs) are configurations of emulator options that let you better model an actual device. Each AVD is made up of: A hardware profile. You can set options to define the hardware features of the virtual device.

What is Android Emulator in Android Studio?

The Android Emulator simulates Android devices on your computer so that you can test your application on a variety of devices and Android API levels without needing to have each physical device.


1 Answers

I don't think it's listed. You'll have to just make a custom pixel 4 with that hardware profile. And there will be no skin. The 3 is too small for the 4.

like image 146
D at Wonaye Avatar answered Nov 15 '22 00:11

D at Wonaye