在IDE里運(yùn)行模擬器一會兒就掛了
命令行直接敲emulator64-x86 -avd AVD_for_Nexus_5_by_Google
得到錯誤提示:
emulator: ERROR: Could not load OpenGLES emulation library: dlopen(libOpenglRender.dylib, 1): image not foundemulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
https://code.google.com/p/android/issues/detail?id=33336
https://groups.google.com/forum/#!msg/adt-dev/gwcLeOTfxD4/kW-qebk0C-wJ
LD_LIBRARY_PATH=/Users/fangjian/Soft/android-sdk-macosx/tools/lib/emulator/ emulator -verbose -avd AVD_for_Nexus_5_by_Google
實際上用emulator -avd AVD_for_Nexus_5_by_Google 就可以
看來是intellij的問題。從命令行啟動或者用Android Studio啟動都沒有問題