简体   繁体   English

在调试时使用我的物理键盘在android上键入

[英]Type with my physical keyboard on android while debugging

I'd like to know if you have any references or tips to debug faster on real Android devices. 我想知道您是否有任何参考或技巧可以在实际的Android设备上更快地进行调试。 I have a set of bash scripts to iterate rapidly over builds and signals, but sadly i waste a lot of time testing text inputs. 我有一组bash脚本来快速遍历构建和信号,但可惜我浪费了大量时间测试文本输入。 I could hard-code but I am looking for a solution that is more universal between teams and projects. 我可以进行硬编码,但我正在寻找在团队和项目之间更通用的解决方案。 Typing directly on the device I am debugging would save me tons of time. 直接在我调试的设备上键入将节省大量时间。

Do you know a way to achieve this using any tool or app? 您知道使用任何工具或应用程序实现此目标的方法吗?

Thanks 谢谢

Some answers here partially solve my current answer: 这里的一些答案部分解决了我目前的答案:

ADB Shell Input Events ADB Shell输入事件

I guess we could create a software utility on a terminal to write from there to the phone and then we'd be done. 我想我们可以在终端上创建一个软件实用程序,然后从那里写到电话,然后就可以完成了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM