Андроид студио ошибка could not start avd

I install the latest version of Android Studio Android Studio 4.0.1.then after i open Android studio and create sample project.after that i open AVD manager and «create virtual device»,then after i download Android 10.0+ API 30 level emulator. Issue is AVD not start.please check Images

PC configuration:

Window 7 Professional,Service Pack 1,
8GB RAM,64-bit,intel core i3,Asus

AVD Manager

Vertual Device Configuration
I already enable VT- x in my pc

Vadim Kotov's user avatar

Vadim Kotov

8,0648 gold badges48 silver badges62 bronze badges

asked Aug 16, 2020 at 12:17

Android's user avatar

5

I made VT-x enabled and saved it many times,but AVD did not start.
I changed lithium battery on MB,so now AVD works.

I think if lithium battery on MB is low,BIOS will not work properly.

answered Dec 1, 2020 at 7:08

lightsout's user avatar

1

I did this and it solved my problem:

  1. Go to SDK Manager -> SDK Tools -> remove «Intel x86 Emulator Accelerator (HAXM Installer)»
  2. Click OK to uninstall HAXM.
  3. When the uninstall process is complete, close SDK Manager, open it again and install HAXM again the same way.
  4. Optional: Wipe data of your emulator and perform a cold boot.
  5. If the problem still exists uninstall/install Android emulator in SDK Manager -> SDK Tools as well.

If your system has low resources (RAM, CPU) like mine, it just can’t. Don’t push it.

answered Jan 26, 2021 at 18:02

Ali Has's user avatar

Ali HasAli Has

6101 gold badge8 silver badges23 bronze badges

In addition to reinstalling HAXM, I added android SDK , JDK & JRE paths in environment variable and I got AVD working.

Add new entry user variables in environment variables where

variable name= ANDROID_HOME
value= C:UsersusernameAppDataLocalAndroidSdk

variable name= JAVA_HOME
value= C:Program FilesJavajdk-11.0.11

variable name= JRE_HOME
value= C:Program FilesJavajre1.8.0_291

Add new entries/apend ANDROID_HOME;JAVA_HOME;JRE_HOME to path user variable in environment variable.

answered Jun 15, 2021 at 14:45

vivek shirodkar's user avatar

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.

Я думаю, что это проблема со ссылкой на 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.)

13 / 13 / 0

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

Сообщений: 435

1

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


Студворк — интернет-сервис помощи студентам

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



0



13 / 13 / 0

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

Сообщений: 435

29.12.2020, 20:36

 [ТС]

2

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

Изображения

 



0



344 / 236 / 33

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

Сообщений: 747

29.12.2020, 22:19

3

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



1



13 / 13 / 0

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

Сообщений: 435

30.12.2020, 05:55

 [ТС]

4

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



0



Am I evil? Yes, I am!

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

16819 / 9172 / 2633

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

Сообщений: 20,892

01.01.2021, 18:22

5

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

что это такое


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

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



1



13 / 13 / 0

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

Сообщений: 435

01.01.2021, 18:58

 [ТС]

6

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

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



0



Am I evil? Yes, I am!

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

16819 / 9172 / 2633

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

Сообщений: 20,892

01.01.2021, 19:04

7

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

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

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



0



13 / 13 / 0

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

Сообщений: 435

02.01.2021, 11:45

 [ТС]

8

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



0



13 / 13 / 0

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

Сообщений: 435

02.01.2021, 11:48

 [ТС]

9

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

Миниатюры

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



0



13 / 13 / 0

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

Сообщений: 435

02.01.2021, 12:36

 [ТС]

11

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



0



Am I evil? Yes, I am!

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

16819 / 9172 / 2633

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

Сообщений: 20,892

02.01.2021, 13:42

12

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

Решение

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



1



13 / 13 / 0

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

Сообщений: 435

09.12.2022, 18:39

 [ТС]

13

пасиб



0



Intel Virtualization Technology (VT). Formerly known as Vanderpool, this technology enables a CPU to act as if you have several independent computers, in order to enable several operating systems to run at the same time on the same machine. In this tutorial we will explain everything you need to know about this technology. Intel’s virtualization technology is available in two versions: VT-x, for x86 processors; and VT-i, for Itanium (i.e., IA-64) processors.

If you want to read more please take a look at this answer.
https://superuser.com/questions/939340/what-is-vt-x-why-it-is-not-enabled-in-few-machine-by-default

And if you want to enable it then refer to this
Enable VT-x in your BIOS security settings (refer to documentation for your computer)

And if you don’t want to activate VTx go to this link and install genymotion. Also I believe you will need to install virutal machine too to run these emulators
GenyMotion

Related videos on Youtube

How to Fix Intel HAXM Android Studio Installation Error - This Computer Does Not Support Intel VT-x

06 : 21

How to Fix Intel HAXM Android Studio Installation Error — This Computer Does Not Support Intel VT-x

How to fix This computer does not support Intel Virtualization Technology VT-x --- FIXED

06 : 42

How to fix This computer does not support Intel Virtualization Technology VT-x — FIXED

[SOLVED] Could not start avd android studio Fix /dev/kvm permission denied problem in Linux Ubuntu

10 : 48

[SOLVED] Could not start avd android studio Fix /dev/kvm permission denied problem in Linux Ubuntu

How to fix " Error while waiting for device: Could not start AVD "

15 : 38

How to fix » Error while waiting for device: Could not start AVD «

VT-X is Disabled in The Bios Android Studio 2020 ♡ Solved |AVD Manager error could not start avd

10 : 24

VT-X is Disabled in The Bios Android Studio 2020 ♡ Solved |AVD Manager error could not start avd

haxm Is Not Installed | AVD Error | All Error Fixed In 1 Video 2021 New

02 : 55

haxm Is Not Installed | AVD Error | All Error Fixed In 1 Video 2021 New

How to enable Virtualization (VT-x)  in Bios Windows 10 *** NEW ***

04 : 36

How to enable Virtualization (VT-x) in Bios Windows 10 *** NEW ***

Comments

  • I am newbie to Android and Gradle. I have checked out source code from https://github.com/nostra13/Android-Universal-Image-Loader. Also I have installed all latest versions of Android studio and gradle just today. Since the gradle version requires build tools version as 26.0.2 I have commented the line

    //buildToolsVersion "23.0.2"
    

    so that it takes now version 26.0.2 and earlier encountered error- «Failed to find Build Tools revision 26.0.2» is gone.

    I created AVD in android studio and tried running sample app from above github repository and it’s suggesting to Enable VT-x BIOS. I do not know why VT-x BIOS is required or why Intel HAXM is required. I do not know whether enabling VT-x BIOS or installing HAXM would harm my computer. Hence I did not enable VT-x BIOS and not installed HAXM yet.

    Can anyone guide me to get rid of below error where no other meaningful trace is shown on gradle console as you can see in the attachment.

    Error while waiting for device: Could not start AVD

    Attached both screenshots displaying the AVD and the error. Is there any way without enabling the VT-x BIOS or Intel HAXM. Can this step be skipped and will I be able to run this sample app? I want to keep this as the last alternative of enabling BIOS or HAXM. Has anyone tried running this sample app?

    [![enter image description here][2]][2]
    [![enter image description here][3]][3]
    [![enter image description here][4]][4]
    [![enter image description here][5]][5]
    

    • You need to enable VT-x it will not harm your computer :). And if you don’t want to do it you can use GenyMotion emulators or real devices.

    • Could not upload the screen-shot of error in gradle console because image size is bigger. But I have that checked no meaningful trace is shown over there.

    • have you enabled it through your bios ?.

    • @Umair-what is VT-x? Does this depend on what an app needs to do or is this a general thing for all android apps? Can you share link to install GenyMotion?

    • Check my answer. You will get the idea

  • do I need to download genymotion with virtual box or without virtual box?

  • @Prakash if you already have a virtual box then no, otherwise yes :)

  • @Prakash basically virtual box is VM on which your emulator will run.

  • I have installed genymotion with virtual box. Can you tell me how to create android virtual device using genymotion?

  • The video u shared is for plugin into eclipse and not for Android studio. Also I m confused of what document to follow for installation. I am trying to follow Plugin-for-Android-Studio and using JetBrains repository method. Stuck here. Don’t know what to do next?

  • @Prakash sorry i didn’t noticed that. It’s easy to add a plugin to android studio. Follow these links and you will be able to run it I am sure. Or just tell me where you are stucked at, ? tleyden.github.io/blog/2013/11/22/… genymotion.com/plugins

  • I wanted to upload screenshot but don’t know how to upload in comments

  • Will you be available to chat again? I am stuck at that point.

  • @Prakash I don’t know where you are stuck at. everything is quite clear and easy to understand. :)

  • to start virtual device of genymotion, does this require a license? I have downloaded trial version which said to be free for 30 days

  • @Prakash You do not need a license to run Genymotion for personal use. Paid license is only required for commercial use (earning money with the help of Genymotion). I believe you have selected the wrong option while creating your account on genyMotion.

  • what company and usage type I should select for person use?

  • @Prakash for company = «Gamer/Personal» and for usageType = «training» or «development»

  • thanks Umair. Hopefully this should solve my purpose.

  • @Prakash if my answer helped you please accept and upvote it and if you are still having some problem feel free to tell me :)

  • I have already upvoted. Let me check by creating new virtual device with genymotion. I will not forget to accept the answer.

  • I have accepted the answer as I am able to configure genymotion in android studio. But after this I am facing some problems related to build. I don’t know whether it will be appropriate to add the description of error here in comment. i.e. Posting that as separate question. Could you help me with that also if you are ok?

  • @Prakash you need to post a different question for that because that problem has nothing to do with genymotion. And I am glad that i could be of help. Happy Coding :)

Recents

Related

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

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

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

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

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.

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

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.

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

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.

  • Андроид процесс медиа произошла ошибка что делать леново
  • Андроид процесс медиа произошла ошибка что делать асус
  • Андроид процесс медиа произошла ошибка на телевизоре
  • Андроид процесс акоре произошла ошибка что делать на леново
  • Андроид процесс акоре произошла ошибка что делать как исправить ошибку