Android控制注意事项
This article offers tips for controlling Android devices, including setting the time with adb, disabling alarms, and utilizing cloud phone platforms like Redroid and Lambda. Additionally, it covers solutions to adb connection issues by suggesting troubleshooting steps such as restarting the adb server, ensuring proper USB hardware connectivity, improving power supply, and using high-quality cables.
长时间不开机的机器可能会发生时间错位问题 需要用adb进行时间校准
1 | adb shell date "YYYY-MM-DD HH:MM:SS" |
把所有闹钟都关闭 防止关了机又打开 或者在脚本操作控制的时候出问题
建议使用云手机平台(搜索:开源云手机),虚拟手机,方便进行环境打包和重新部署。
redroid supports adb connection, and is a docker image
redroid-doc and redroid tutorial
lamda is a multi-source (simulator and real device support) android controlling, network capturing and reverse engineering platform
如果adb出现连接问题,可以重启adb服务
usb硬件出问题一般是因为供电不足,或者连接线接触不良。所以可以加强供电,以及更换更好的连接线。
1 | adb kill-server |