emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
RegGetValueW failed 2 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆�
用的eclipse Android7.0
新手求解~
这个方法不管用啊~大神求助~
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
RegGetValueW failed 2 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆�
用的eclipse Android7.0
新手求解~
这个方法不管用啊~大神求助~
错误日志:
Cannot launch AVD in emulator.
Output:
Hax is enabled
init: Could not find wglGetExtensionsStringARB!
Hax ram_size 0x20000000
HAX is working and emulator runs in fast virt mode.
getGLES2ExtensionString: Could not find GLES 2.x config!
Failed to obtain GLES 2.x extensions string!
Could not initialize emulated framebuffer
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
解决方法:
编辑模拟器时
现象:用adbdevices命令总发现emualtor-5554offline,重新安装与adb相关的程序均无法消除此设备。
原因:有程序占用5555端口,导致adb认为5554不能作为第1个设备启用
方法:
1. 用netstat –ano(即netstat -a –n –o),查看5555端口被哪个PID占用。
2. 打开任务管理器,选择“进程”,在“查看”菜单打开“选择列”,勾上PID。
3. 把进程按PID排序,找到PID对应的程序名。
4. 按文件名搜索程序所在的目录,确认后删除该程序。
5. 再运行adb devices,发现emualtor-5554 offline已消失。