Error while waiting for device could not start avd android studio

Could not start AVD в андроид студио Программирование Android Решение и ответ на вопрос 2763124

13 / 13 / 0

Регистрация: 20.03.2020

Сообщений: 425

1

29.12.2020, 20:34. Показов 11134. Ответов 12


Не запускается виртуальный девайс в андроид студио.
Выдает: Could not start AVD
Помогите пожалуйста!!

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



13 / 13 / 0

Регистрация: 20.03.2020

Сообщений: 425

29.12.2020, 20:36

 [ТС]

2

Вот такая ошибка.

Изображения

 



0



344 / 236 / 33

Регистрация: 16.01.2010

Сообщений: 740

29.12.2020, 22:19

3

Напишите конфигурацию ПК



1



13 / 13 / 0

Регистрация: 20.03.2020

Сообщений: 425

30.12.2020, 05:55

 [ТС]

4

Я не знаю, что это такое((( Обьясни пожалуйста



0



Нарушитель

Эксперт PythonЭксперт Java

14040 / 8228 / 2485

Регистрация: 21.10.2017

Сообщений: 19,708

01.01.2021, 18:22

5

Цитата
Сообщение от mathus
Посмотреть сообщение

что это такое


Процессор, память, операционная система, видеокарта и т.д.

Хотя в данном случае достаточно знать процессор. Вангую, что у тебя AMD.



1



13 / 13 / 0

Регистрация: 20.03.2020

Сообщений: 425

01.01.2021, 18:58

 [ТС]

6

а я не знаю, какой у меня процессор..

Добавлено через 5 секунд
ну только вроде интел называется



0



Нарушитель

Эксперт PythonЭксперт Java

14040 / 8228 / 2485

Регистрация: 21.10.2017

Сообщений: 19,708

01.01.2021, 19:04

7

Цитата
Сообщение от mathus
Посмотреть сообщение

я не знаю, какой у меня процессор

Правой кнопочкой мыши на Мой компьютер (винда ведь?) — Свойства



0



13 / 13 / 0

Регистрация: 20.03.2020

Сообщений: 425

02.01.2021, 11:45

 [ТС]

8

нету свойств…



0



13 / 13 / 0

Регистрация: 20.03.2020

Сообщений: 425

02.01.2021, 11:48

 [ТС]

9

А нет, есть. Вот, нарыл что то.

Миниатюры

Could not start AVD в андроид студио
 



0



13 / 13 / 0

Регистрация: 20.03.2020

Сообщений: 425

02.01.2021, 12:36

 [ТС]

11

нам сказали не ставить генимоушен



0



Нарушитель

Эксперт PythonЭксперт Java

14040 / 8228 / 2485

Регистрация: 21.10.2017

Сообщений: 19,708

02.01.2021, 13:42

12

Лучший ответ Сообщение было отмечено mathus как решение

Решение

mathus, включай виртуализацию в биосе, ссылка выше



1



13 / 13 / 0

Регистрация: 20.03.2020

Сообщений: 425

09.12.2022, 18:39

 [ТС]

13

пасиб



0



Sometimes, (maybe after updating Android Studio) you might encounter a strange error, which might cause you a nightmare, the error is thrown by the Studio itself and it says: 

Error while waiting for device: The emulator process for AVD was killed

Uggh…Now, what’s this error all about? Why did it happen on the system? How do I fix it? Follow the Steps Below, and you’ll certainly solve it yourself!

You might encounter this error when you start the Android Emulator and then wait for it to get started but only see the process running and the GUI never comes into play, this is especially very nasty and troublesome when you have some important work to do (maybe a client project to test in the 11th hour) and then suddenly your hope of running the emulator gets numb because the process which was still running went out nowhere and got killed.

Method 1: Update Android Emulator to the Latest Release

As blunt as it may sound, but updating the emulator which you’re running could simply end your problem, for eg. if you’re working on API Level 30 and your emulator version is 30.1.2  then updating it to 30.1.5 would perhaps resolve your issue. Updating Emulator is a breeze, simply: Android Studio -> Go to preferences -> Android SDK -> Then find and update the Android Emulator from the list. Use the Image below if you get stuck at any place:

Updating Android Emulator

Method 2: Clear your Disk Space

Sometimes, the only force acting between you and the emulator running is the low disk space, clearing the disk space and re-running the emulator (after restarting the studio) could resolve this issue for you, it’s simply an easy lookout for the node modules ????

ProTip: Clearing you Android Studio cache could clear huge chunks of data!

Method 3: Enabling Support for OpenGL

If your emulator is a device with the Google Play Services enabled, the error might be related to “OpenGL” to fix this, simply:

  1. Go to: Tools > Android > AVD Manager
  2. Press the “edit” (pencil) icon next to your AVD
  3. Change “Graphics” to “Software”.

Method 4: Install the Intel x86 Emulator Accelerator on your system

Apart from updating the Android Studio Emulator on your system, you should also consider installing the Intel x86 Emulator Accelerator as Android is a large Operating System and some system images run on the old x86 bit architecture. To Install the x86 Emulator Accelerator

  1. Go to Preferences
  2. Navigate to Android SDK
  3. Mark the Checkbox against “Intel x86 Emulator Accelerator (HAXM)”

You may refer to the below screenshot if you need help:

Installing the Intel x86 Emulator (HAXM)

Method 5: Parallel SDK Installation (Rare)

If all the above-mentioned steps didn’t work out for you and you’re still not able to run the Emulator, it might be the fact that there are two SDK Installations in your system and the “ANDROID_HOME” points to the wrong location. This error might occur if you recently installed Nativescript or software like that. In order to fix it, follow:

  1. Android Studio settings
  2. Find the proper Android SDK location
  3. Update the environment variable and restart Android Studio.

Fixing Parallel SDK Installation

Conclusion

All the above-mentioned methods would’ve solved your issue, and your emulator would be up and running again, however, if the odds turn on to be against you, always remember that a clean installation of the whole setup would fix this problem.

  • Forum posts: 10

Jan 6, 2017, 12:25:39 AM via Website

Jan 6, 2017
12:25:39 AM
via Website

I am learning Android App development and cannot get anything to run in the emulator.

I created a simple «Hello World» app and am getting these errors»

Intel HAXM is required to run this AVD
Your CPU does not support VT-x
Error while waiting for device: Could not start AVD

My development PC is Windows 10

  • Forum posts: 266

Jan 6, 2017, 5:43:45 AM via Website

Jan 6, 2017
5:43:45 AM
via Website

You need to change the platform type of emulator from x86 to arm-eabi.

  • Forum posts: 10

Jan 6, 2017, 5:21:56 PM via Website

Jan 6, 2017
5:21:56 PM
via Website

It will not allow me to select an arm emulator. If I go into
tools/
I can download any version of android but it will only allow me to select Android 7 Nougat. If I select any other the OK button is grayed out.

If I select that I get this error:
Your CPU does not support VT-x
Consider using an x86 system image on a x86 host for better emulation performance

If I run the app using this emulator, it crashes with this error
qemu-system-aarch64.exe has stopped working

  • Forum posts: 266

Jan 6, 2017, 8:34:18 PM via Website

Jan 6, 2017
8:34:18 PM
via Website

image

Click «Show package details» checkbox

image

Is «ARM EABI v7a System Image» checked?

image

For other android versions download respective ARM EABI System Image.

— modified on Jan 6, 2017, 8:38:14 PM

  • Forum posts: 10

Jan 6, 2017, 9:11:21 PM via Website

Jan 6, 2017
9:11:21 PM
via Website

You are right I did not have ARM EABI selected.

When I chose an Android version with ARM the emulator opens. But after a while I get this error
Error while waiting for device: Timed out after 300seconds waiting for emulator to come online.

  • Forum posts: 266

Jan 6, 2017, 10:36:48 PM via Website

Jan 6, 2017
10:36:48 PM
via Website

Try to use lower settings for emulator:
RAM 256 — 512 mb, 800×480 resolution, no sd card, internal storage 100 mb.

  • Forum posts: 10

Jan 6, 2017, 11:47:15 PM via Website

Jan 6, 2017
11:47:15 PM
via Website

I could not use those exact settings, but I did set the resolution to what you recommended.
It would not allow me to save the AVD unless
SD card must be larger than 10mb
Internal Storage must be at least 200mb

I did run the app with the settings
800×480 resolution
RAM 256mb
SD card 11mb
Internal Storage 200mb

After about 10min I now get this error
Process pipe failed
I/OpenGLRenderer: Initialized EGL, version 1.4
E/EGL_emulation: tid 2568: eglSurfaceAttrib(1165): error 0x3009 (EGL_BAD_MATCH)
W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xac1ed5c0, error=EGL_BAD_MATCH
W/art: Verification of boolean android.support.v7.widget.ActionMenuPresenter.showOverflowMenu() took 111.462ms
I/Choreographer: Skipped 96 frames! The application may be doing too much work on its main thread.

  • Forum posts: 10

Feb 25, 2020, 8:47:16 AM via Website

Feb 25, 2020
8:47:16 AM
via Website

You can try LDPlayer Android emulator which allows you to run most Android apps and games on Windows PC. Download LDPlayer on www.ldplayer.net

  • Forum posts: 81

Sep 9, 2021, 2:44:59 PM via Website

Sep 9, 2021
2:44:59 PM
via Website

Launch the Android Emulator without first running an app

While the emulator is running, you can run Android Studio projects and choose the emulator as the target device. You can also drag one or more APKs onto the emulator to install them, and then run them.

  1. Are you ready for the Galaxy S20? Here is everything we know so far!
  • HOME

    • Search titles only
    Newer Than:
    • Search this thread only
    • Search this forum only
      • Display results as threads

    More…

    Useful Searches

    • Recent Posts


    • Log in

      Your name or email address:
      Password:
      Forgot your password?

      Stay logged in

      Log in with Facebook
      Log in with Twitter
      Log in with Google

    • Sign up


      • Remove Ads with a Free Account

      • android studio
      • avd
      • could not start

      Error while waiting for device: Could not start AVD

      Discussion in ‘Android Development’ started by Danz47, Aug 20, 2020.

      1. Danz47

        Danz47

        Lurker



        Thread Starter

        I recently installed android studio on my pc, created virtual device but when I click » run ‘app’ » the only thing that happens is error «Error while waiting for device: Could not start AVD», this error is in «Run» tool window, besides that there’s absolutely no information what and why that happens.

        Few things worth mentioning:

        • I have enabled virtualization in bios
        • I tried deleting virtual device and create new one, no change
        • I have installed android sdk

        Anyone knows how to resolve that problem?

        #1


        Danz47,

        Aug 20, 2020


        1. Sponsored

          Download the Forums for Android™ app!

          Download

      • android studio
      • avd
      • could not start

      Write your reply…


      Loading…

      Similar Threads — Error while waiting


      1. jbhntr861

        Preloader validation failed Error. Bootloader is unlocked.

        jbhntr861,
        Jan 20, 2023
        , in forum: Android Lounge

        Replies:
        1
        Views:
        522
        ocnbrze
        Jan 21, 2023

      2. Hammer2622

        Error after full screen exit

        Hammer2622,
        Jan 12, 2023
        , in forum: Android Help

        Replies:
        5
        Views:
        779
        maggiem2481
        Jan 13, 2023

      3. Deepak Goel

        Error in Example

        Deepak Goel,
        Jan 9, 2023
        , in forum: Android Development

        Replies:
        6
        Views:
        1,040
        saramarz
        Jan 9, 2023

      4. Thamaraikannan S

        App not Installed error when updating the app by installing updated apk file

        Thamaraikannan S,
        Jan 8, 2023
        , in forum: Android Help

        Replies:
        8
        Views:
        680
        James_Watson
        Jan 20, 2023

      5. Rich98

        Sdcard Error

        Rich98,
        Dec 22, 2022
        , in forum: Android Lounge

        Replies:
        7
        Views:
        639
        Rich98
        Dec 26, 2022

      6. dave907

        Error 403

        dave907,
        Dec 21, 2022
        , in forum: Android Devices

        Replies:
        7
        Views:
        976
        Unforgiven
        Dec 21, 2022

      7. Random22

        «System error, please try again later or call Care»

        Random22,
        Dec 19, 2022
        , in forum: Android Devices

        Replies:
        3
        Views:
        951
        ocnbrze
        Dec 19, 2022

      8. Atharv Thorat

        android studio error while fetching nearby atm in android studio

        Atharv Thorat,
        Apr 17, 2022
        , in forum: Android Development

        Replies:
        0
        Views:
        1,649
        Atharv Thorat
        Apr 17, 2022

      9. Mohammed Khalid

        Android Studio err: «an error occurred while trying to compute required packages»!

        Mohammed Khalid,
        Nov 16, 2021
        , in forum: Android Development

        Replies:
        5
        Views:
        3,672
        Mohammed Khalid
        Nov 16, 2021

      10. swaroopandroid

        «git am» error while trying to build an android image

        swaroopandroid,
        Mar 1, 2021
        , in forum: Android Development

        Replies:
        1
        Views:
        1,995
        Unforgiven
        Mar 1, 2021

      Share This Page

      Loading…
      • Log in with Facebook
      • Log in with Twitter
      • Log in with Google
      Your name or email address:
      Do you already have an account?
      • No, create an account now.
      • Yes, my password is:
      • Forgot your password?

      Stay logged in

      When starting the simulator, you need to download Andriod 10.0 (Google), I use Over the Wall to download and then select «COULD NOT START AVD» after downloading the downloaded mobile phone type, or when used in the second boot When you drop down to the AVD Manager, you will pop up TIPS: COULD NOT Start AVD when running the downloaded virtual phone, as shown below:

      Solution

      Workaround — Open the terminal execution command:
      sudo chown ly -R /dev/kvm

      The role of this sentence is: , ly is my username, in exchange for your personal username.
      Run the Activity under Android Studio again to display it.

      Эмулятор в Android Studio не запускается

      Я думаю, что это проблема со ссылкой на SDK в структуре проекта, но когда я нажимаю «Выполнить» и выбираю «Запуск эмулятора», ничего не появляется.

      У меня такая же проблема. Я только что создал AVD с 768 МБ ОЗУ, и он отлично работал!

      У меня была аналогичная проблема . Android-эмулятор не открывается. Вам нужно выяснить причину этого . Вы можете запустить свой эмулятор из командной строки. Для этого вы можете скопировать и вставить свою командную строку из консоли Android Studio «Выполнить» или «AVD». Например:

      » android-sdk tools emulator.exe -avd Default_Nexus_5 -netspeed full -netdelay none»

      Когда вы запускаете его из терминала командной строки, он выдает сообщение с ошибкой. В моем случае это было полезно для обнаружения проблемы:

      .. android-sdk tools> emulator: ОШИБКА: для эмуляции x86 в настоящее время требуется аппаратное ускорение! Убедитесь, что Intel HAXM правильно установлен и может использоваться. Состояние ускорения процессора: модуль ядра HAX не установлен!

      Мне нужно было активировать ускорение графического процессора с помощью инструмента, чтобы включить его на моей машине. Я решил установить из SDK Manager инструмент HAXM .

      У меня была другая проблема . Например, я назначил неправильный URL-адрес для пути к скину моего виртуального устройства . Чтобы решить эту проблему, я настроил свое виртуальное устройство с допустимым скином из моей платформы sdk: ‘ android- sdk platform android- skins ‘

      Сейчас открывается нормально.

      Обновление 08.08.2019:

      Для более новой версии Android SDK путь к эмулятору должен быть:

      » android-sdk emulator emulator.exe»

      В моем случае андроид зависает при запуске. Я решил стереть пользовательские данные и принудительно выполнить холодную загрузку с помощью Android Virtual Device Manager (Инструменты-> AVD Manager)

      введите описание изображения здесь

      Похоже, что «Ожидание подключения целевого устройства . » — это общее сообщение, которое появляется всегда, когда эмулятор не может запуститься должным образом. И в чем причина этого? Как видите, причин могло быть много.

      Я думаю, что лучший способ найти конкретную ошибку в эмуляторе — запустить его в терминале. Так:

      1 — Откройте терминал и перейдите в эту папку:

      2 — Запустите эмулятор с помощью этой команды:

      Вы можете увидеть имя ваших (ранее созданных с помощью AVD Manager) эмуляторов с помощью этой команды:

      Если все в порядке, программа не запускается, а пишет в терминале конкретную ошибку.

      В моем случае приложение сообщает, что возникла проблема с загрузкой графического драйвера (« ошибка libGL: невозможно загрузить драйвер: r600_dri.so »). Как объясняется здесь , похоже, что Google упаковал с Android Studio старую версию одной библиотеки, и эмулятор не работает, когда пытается использовать мою графическую карту.

      Решение? Очень просто: использовать системные библиотеки вместо упакованных в Android Studio. Как? Добавление «-use-system-libs» в конец команды. Так:

      Окончательное решение — установить для переменной среды ANDROID_EMULATOR_USE_SYSTEM_LIBS значение 1 для вашего пользователя / системы. С этим изменением, когда я запускаю эмулятор в Android Studio, он также загружает системные библиотеки.

      PS 1 — Самый простой способ установить переменную среды, который я нашел, — это изменить скрипт, запускающий Android Studio ( studio.sh , в моем случае он находится внутри / opt / android-stuido / bin ), и добавить в начале это:

      PS 2 — Я работаю с Debian Jessie и Android Studio 2.2.3. Моя графическая карта — ATI Radeon HD 6850 от Sapphire.

      ОБНОВЛЕНИЕ Декабрь 2017: у меня была такая же проблема с Debian Stretch и Android Studio 3.0.1 (та же графическая карта). У меня работает то же решение.

      AVD doesn’t work after installing Android Studio [closed]

      Questions on Android Enthusiasts should be asked from a end-user point of view and within the scope defined in the help center.

      Closed 6 months ago .

      I installed Android Studio, but when I try to run, the emulator is not working. When I googled, I find some instructions in which the

      1. Open SDK Manager and Download Intel x86 Emulator Accelerator (HAXM installer) if you haven’t.
      2. Now go to your SDK directory (C:usersusernameAppDataLocalAndroidsdk, generally). In this directory Go to extra > intel > Hardware_Accelerated_Execution_Manager and run the file named «intelhaxm-android.exe».

        In case you get an error like «Intel virtualization technology (vt,vt-x) is not enabled». Go to your BIOS settings and enable Hardware Virtualization.

      3. Restart Android Studio and then try to start the AVD again.

      but I don’t know where is BIOS setting of my computer. I have HP desktop CPU and try to find the BIOS from start, F10 as well as from change PC setting in Windows, but all in vain.

      user avatar

      3 Answers 3

      I faced a similar problem recently on my windows 10 laptop and found out that the Intel virtualization technology (vt-x) was disabled from BIOS.

      In case you are using a new laptop which comes per-installed with Windows 8/8.1/10 then chances are that you cannot enter the BIOS manually while booting. Reason being they have changed BIOS to UEFI which is no longer accessible through boot but instead you need to do the following steps:

      Go to Windows > Settings > Update and Security > Recovery. Then under Advanced startup, click Restart now. The system will restart and show the Windows 10 boot menu. Select Troubleshoot > Advanced options > UEFI Firmware Settings. Click Restart to restart the system and enter UEFI (BIOS). from here you can access the UEFI menu (which is similar to BIOS)

      Search for the VT-x setting (It may be named as Intel VT or Vanderpool or Virtualization Extensions or something similar depending on your OEM and BIOS.)

      Понравилась статья? Поделить с друзьями:
    • Error writing partition failed remote critical partition flashing is not allowed
    • Error while uploading the voice message
    • Error writing object file
    • Error while updating worn items что делать
    • Error writing file 5 access is denied