简体   繁体   中英

Android Studio AVD not working or unresponsive

I've got this problem with AVD emulation in Android Studio, I am working on a machine I got at work.

With "use host GPU" enabled , I get this log:

C:\Users\username\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_4_API_21 -netspeed full -netdelay none

emulator: device fd:540
HAX is working and emulator runs in fast virt mode
emulator: warning: opening audio output failed
creating window 54 108 446 742

../../sdk/emulator/opengl//host/libs/Translator/GLES_V2//GLESv2Imp.cpp:glAttachShader:156 error 0x501
../../sdk/emulator/opengl//host/libs/Translator/GLES_V2//GLESv2Imp.cpp:glAttachShader:156 error 0x501
../../sdk/emulator/opengl//host/libs/Translator/GLES_V2//GLESv2Imp.cpp:glDetachShader:559 error 0x501
../../sdk/emulator/opengl//host/libs/Translator/GLES_V2//GLESv2Imp.cpp:glDetachShader:559 error 0x501
../../sdk/emulator/opengl//host/libs/Translator/GLES_CM//GLEScmImp.cpp:glGenFramebuffersOES:1934 error 0x502
../../sdk/emulator/opengl//host/libs/Translator/GLES_CM//GLEScmImp.cpp:glBindFramebufferOES:1909 error 0x502
../../sdk/emulator/opengl//host/libs/Translator/GLES_CM//GLEScmImp.cpp:glFramebufferTexture2DOES:1954 error 0x502
../../sdk/emulator/opengl//host/libs/Translator/GLES_CM//GLEScmImp.cpp:glCheckFramebufferStatusOES:1947 error 0x502
ColorBuffer::bind_fbo: FBO not complete: 0

../../sdk/emulator/opengl//host/libs/Translator/GLES_CM//GLEScmImp.cpp:glBindFramebufferOES:1909 error 0x502
../../sdk/emulator/opengl//host/libs/Translator/GLES_CM//GLEScmImp.cpp:glDeleteFramebuffersOES:1925 error 0x502

Error accepting connection, aborting

With "use host GPU" disabled , after 1 h loading I finally got to testing my sample app. Partly due to the specs:

CPU: Intel Core 2 Duo E7500 @ 2.93 GHz

RAM: 2GB

Graphics: Intel G33/31 Express Chipset

Sure, you can say:"There's your problem," and flag this as a moronic question, but keep in mind this is a machine I got to work on.

I have read all kinds of forums, went through all the stackoverflow questions and I haven't found anyone with a problem quite like mine.

I also don't have any experience with the OpenGL lib, which renders my only related find useless.

My best guess is that the integrated graphics can't play with the OpenGL lib because they can't get on its level. They don't even lift. (Don't support the functions/methods of OpenGL, causing errors.)

To anyone interested in helping me out, I pose this question:

Can I get the emulator to work on this machine with GPU acceleration enabled?

Cheers.

The answer is NO, one can not get the emulator to work on such a machine with GPU acceleration enabled without any further modifications to the system.

It is better to get any android mobile device , a used older make is your best bet.

Having resorted to using a Samsung Galaxy Ace S5830, which cost me about 20€, I am able to continue my endeavors at programming apps for android. It supports API 10, android 2.3.3, which is just about what I need for my app.

Cheers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM