skip to Main Content

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:UsersASUSAppDataLocalAndroidSdk/emulator/emulator @Pixel_2_API_30

3

Answers


  1. Chosen as BEST ANSWER

    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!!!


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

    Login or Signup to reply.
  3. You must wipe the data. For that go to Device Manager -> Wipe Data. After that restart your Android Studio. Then after your issue may be solved. Have a look on below mentioned image to get a better understanding.

    wipe data

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search