DDian_Ellen 2018-03-31 11:42 采纳率: 0%
浏览 1885
已结题

Listening for console connections on port: 5554

emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
RegGetValueW failed 2 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆�

用的eclipse Android7.0
新手求解~
这个方法不管用啊~大神求助~
图片说明
图片说明
图片说明

  • 写回答

1条回答 默认 最新

  • HonKer-Dynamo 2018-03-31 13:15
    关注

    错误日志:
    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已消失。

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题