最初是在centos环境上搭建STF,因为种种依赖缺失、nodejs/npm版本不兼容、以及无解的“Segmentation fault (core dumped)”错误,最终仍是以失败了结,转战Mac平台。踩坑记录写在搭建运行的后面,Linux 及 Mac中的坑都有涉及,因为文章篇幅较长,读者可自行查看所需。node
1、STF是什么web
STF (or Smartphone Test Farm) is a web application for debugging smartphones, smartwatches and other gadgets remotely, from the comfort of your browser.npm
做用:Web端远程批量管理多台Android设备,可支持超过160台centos
2、STF功能简介:浏览器
一、系统支持app
(1)只支持Android系统,版本 2.3.3 (SDK level 10) to 7.1 (SDK level 25)debug
(2)支持Wear 5.1 (不支持 5.0 由于没有权限)rem
(3)支持 Fire OS, CyanogenMod,和其余Android发布系统get
(4)root权限不是必须的io
二、浏览器远程控制任意设备
(1)实时屏幕反馈
a.刷新速度可达30-40 FPS。
b.支持屏幕翻转
(2)支持电脑键盘输入
a.支持元键
b.支持复制粘贴
c.非拉丁语言有时会出现错误