Android emulator does not work after update

I recently updated my Android SDK and emulator. After that I can not start the program "Hello world". When loading the emulator, I get warnings and errors like this.

OpenGL backend 'angle' without OpenGL ES 1.x library detected. Using GLESv2 only. emulator: WARNING: encryption is off TextureDraw: Could not create/link program: Failed to create D3D shaders. Hax is enabled Hax ram_size 0x40000000 HAX is working and emulator runs in fast virt mode. audio: Failed to create voice `goldfish_audio' qemu-system-i386.exe: warning: opening audio output failed audio: Failed to create voice `goldfish_audio_in' qemu-system-i386.exe: warning: opening audio input failed audio: Failed to create voice `dac' audio: Failed to create voice `adc' draw: no program draw: no program . . . ANGLE: egl::`anonymous-namespace'::CreateDisplayFromAttribs: make D3D display ANGLE: D3D9: rx::Renderer9::generateConfigs 

I tried a lot of uninstalling and updating, downgrading sdk, etc., but nothing works and I cannot get the exact problem.

I installed 2 SDK platforms:

  • Android 7.0

  • Android 4.2

My SDK tools: enter image description here

+5
source share
1 answer

I had the same problem, the solution was to change the โ€œphysical memory sizeโ€ when creating the Android virtual device ... do 512 MB, because your computer cannot read the space (1.5 GB) in RAM.

How to create a virtual device to solve this problem?

First open Android Studio, then click Tools > Android > AVD Manager .

Secondly, click Create virtual Device after selecting a device (for example: nexus 4) and click Next and Select a system Image , then click Next .

Third, click Show Advanced Settings ; scroll until you see โ€œRAMโ€ and change the value to a lower value, for example 512 MB.

-1
source

Source: https://habr.com/ru/post/1270854/


All Articles