Emulator brings Error on cmd line but works fine when start from Android Studio
Android studio run with it own default options which I don't known to specified.
How can specified the key value pairs?
Lastly create a batch file to start my emulator at one click
In Summary How to copy android studio emulator starting config options and add it using command line. e.g
emulator -avd TechnoLite [options needed to work fine]
Method 1
PS C:\Android\sdk\emulator> emulator -avd TechnoLite
ANGLE: D3D11: rx::Renderer11::generateConfigs emulator: INFO: QtLogger.cpp:68: Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_posture_request ed(int) ((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_posture_sel ection_dialog() ((null):0, (null))
ANGLE: egl::`anonymous-namespace'::CreateDisplayFromAttribs: make D3D display
ANGLE: D3D11: rx::Renderer11::generateConfigs
getGLES2ExtensionString: Could not make GLES 2.x context current!
Failed to obtain GLES 2.x extensions string!
Could not initialize emulated framebuffer
Failed to open /qemu.conf, err: 2
HAX is working and emulator runs in fast virt mode.
emulator: ERROR: OpenGLES emulation failed to initialize.
crashhandler_die: fatal: OpenGLES emulation failed to initialize. .
Method 2 As recommended here
PS C:\Android\sdk\emulator> emulator -avd @TechnoLite
emulator: ERROR: No AVD specified. Use '@foo' or '-avd foo' to launch a virtual device named 'foo'
OS windows 8.1 core i 3 hp core i3 at 1.7Gh