Home > Net >  Couldn't start project on Android: It took too long to start the Android emulator: Pixel_2_API_
Couldn't start project on Android: It took too long to start the Android emulator: Pixel_2_API_

Time:06-18

To run my react native application, I try to create & run an emulator in android studio and get this error every time.

Couldn't start project on Android: It took too long to start the Android emulator: Pixel_2_API_30. You can try starting the emulator manually from the terminal with: C:\Users\ASUS\AppData\Local\Android\Sdk/emulator/emulator @Pixel_2_API_30

CodePudding user response:

Try clear your device cache data Android studio -> virtual device manager -> on device actions select wipe data and then cold boot every-time

CodePudding user response:

This is works for me, If you run your project on VS Code, don't let automatically Emulator start after pressing a (run on android) What I did is, I install VS Code Android Ios Emulator Extension and, I opened the emulator first through the VS Code. After that, you can run "npm start" and press a to run the app on the emulator!!!

  • Related