内容不错, 排版略粗糙啊。。
http://testerhome.com/topics/1328 可以看这个帖子。
哈哈,有意思。 其实 不管有线无线。 对于 adb server 而言都是一样的。
楼主的分享是好的,但是不知道楼主发帖的时候有没有看右边的发帖规则呢?
#20 楼 @seasoncool2011 建议能在 testerhome 里面分享下不?当然博文也不错。。
#4 楼 @xiang2743 解决了。3 楼说的很清楚。
亲测可用,兼容 mac。 非常棒!难得有拿过来就能用的脚本。
ADB.prototype.restartAdb = function (cb) {
this.exec("kill-server", function (err) {
if (err) {
logger.error("Error killing ADB server, going to see if it's online " +
"anyway");
}
cb();
});
};
这里就报错了。 按道理 adb kill-server 是不会报错的。
#12 楼 @seasoncool2011 不能,
All you need to do is, connect your device via usb. Then you will have an alert acknowledging the connection. Then pull down the notification tray. Tap on the usb connection. Then select media transfer. Thats it. Now you can transfer files between your computer and device without charging your device. In android phones, the os is programmed to charge the phone by default, whenever it is connected to the pc via usb.
试试看这个。
#7 楼 @seveniruby 不支持 明显,我们用功耗仪都是开着 app 动来动去 看看电流,瓦数。
ERROR: error: Failed to start an Appium session, err was: Error: Could not find a connected Android device. 说明 appium 认不出你的手机。
看日志好像 prepareBootstrap 出错了。然后 startInstruments 的时候就挂了。
@link1220 应该没用,不知道问题在哪里。。这个实在看不出来。
@wangcityboy 你告诉我错误没用啊。你要调试啊, eclipse 调试会不?
at com.teiron.app.AutoTest.TestRealiPhone.setUp(TestRealiPhone.java:50) 这 50 行是在干嘛? 你可以一行行 debug 啊。
信息过少,无法分析啊。
#9 楼 @ftvbftvbq @oscarxie 可以帮忙推荐下,他认识他们的老大
#9 楼 @ftvbftvbq 嗯 这个公司好像都是通过猎头找的。 之前找我过两次。
#4 楼 @ftvbftvbq 最多 cover 30w