测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
新手
Lemon_daydayup (Lemon)
第 25677 位Users / 2018-03-06
1 篇帖子 • 8 条回帖
0 关注者
0 正在关注
0 收藏
未设置 GitHub 信息.
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • [已解决] 求助贴,使用 atx 后报错 Command 'adb -s G2W7N15510006993 forward --list' returned non-zero exit status 1,困扰好久了,无力解决,求各位大佬帮忙看看 at March 27, 2018

    已经解决了,结果是因为自己电脑上有安装了 ansicon 工具,这个工具会影响 utf-8 的编码,删掉之后就正常了

  • [已解决] 求助贴,使用 atx 后报错 Command 'adb -s G2W7N15510006993 forward --list' returned non-zero exit status 1,困扰好久了,无力解决,求各位大佬帮忙看看 at March 20, 2018

    connect 连接不上,提示 Device(192.168.4.157:7912) not attached。
    手动 init 使用的这种方法,是对的吗?
     用手机下载 app-uiautomator.apk 和 app-uiautomator-test.apk
     下载对应架构 atx-agent 包(https://github.com/openatx/atx-agent/releases)
    下载的是:atx-agent_0.2.1_linux_armv7.tar.gz
     可以终端运行 adb shell cat /proc/cpuinfo 查看手机架构

     解压后,在 atx-agent 文件目录运行下面的代码
    adb push atx-agent /data/local/tmp
    adb shell chmod 755 /data/local/tmp/atx-agent
    adb shell /data/local/tmp/atx-agent -d

    以上运行完之后手机屏幕闪了一下 “hello world”,这样是成功了吗?

  • [已解决] 求助贴,使用 atx 后报错 Command 'adb -s G2W7N15510006993 forward --list' returned non-zero exit status 1,困扰好久了,无力解决,求各位大佬帮忙看看 at March 20, 2018

    大佬,我手动 init 了,但是 weditor 还是连接不上设备,请问这个报错又是什么意思呢?

  • [已解决] 求助贴,使用 atx 后报错 Command 'adb -s G2W7N15510006993 forward --list' returned non-zero exit status 1,困扰好久了,无力解决,求各位大佬帮忙看看 at March 20, 2018

    真机也试过,一样的,用的华为 mate7

  • [已解决] 求助贴,使用 atx 后报错 Command 'adb -s G2W7N15510006993 forward --list' returned non-zero exit status 1,困扰好久了,无力解决,求各位大佬帮忙看看 at March 20, 2018

    确定只有一个 adb.exe,还是这样

  • [已解决] 求助贴,使用 atx 后报错 Command 'adb -s G2W7N15510006993 forward --list' returned non-zero exit status 1,困扰好久了,无力解决,求各位大佬帮忙看看 at March 19, 2018

    使用 python -m uiautomator2 init init 的时候出现:subprocess.CalledProcessError: Command 'adb -s 127.0.0.1:7555 shell getprop ro.build.version.sdk' returned non-zero exit status 1
    但是单独使用 adb -s 127.0.0.1:7555 shell getprop ro.build.version.sdk 可以正常获取系统 api 版本,这个又是怎么回事呢?

  • atx-server 安卓集群管理 安装运行及自动化的实践 at March 07, 2018

    我在连接设备时也遇到这个问题:Command 'adb -s 127.0.0.1:62001 forward --list' returned non-zero exit status 1
    但是查了端口,5037 端口是 adb.exe,请问还有可能是什么原因呢?

  • ATX 系列 - 如何测试网易游戏阴阳师 (Android 篇) at March 06, 2018

    大佬,请问一下,我安装好了 ATX,但是运行 python -m atxweb 或 python -m weditor 会无法连接上设备,adb forward --list 会失败,请问要怎么解决呢;
    Traceback (most recent call last):
    File "C:\Python27\lib\site-packages\weditor_main.py", line 242, in post
    d = u2.connect(device_url)
    File "C:\Python27\lib\site-packages\uiautomator2__init
    .py", line 159, in connect
    return connect_usb(addr)
    File "C:\Python27\lib\site-packages\uiautomator2__init
    _.py", line 187, in connect_usb
    lport = adb.forward_port(7912)
    File "C:\Python27\lib\site-packages\uiautomator2\adbutils.py", line 71, in forward_port
    forwards = self.forward_list()
    File "C:\Python27\lib\site-packages\uiautomator2\adbutils.py", line 59, in forward_list
    output = self.execute('forward', '--list')
    File "C:\Python27\lib\site-packages\uiautomator2\adbutils.py", line 31, in execute
    raise e
    CalledProcessError: Command 'adb -s G2W7N15510006993 forward --list' returned non-zero exit status 1

关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
简体中文 / 正體中文 / English

©testerhome.com 测试之家   渝ICP备2022001292号
  渝公网安备 50022202000435号    版权所有 © 重庆年云聚力信息技术有限公司