新建一个批处理文件
然后输入下面的内容:
@echo off echo %date% echo %time% echo %date:~6,4%%date:~0,2%%date:~3,2%.%time:~0,2%%time:~3,2%%time:~6,2% //通过获取pc时间来设置android设备时间 adb -s 0123456789ABCDEF shell date -s `date +%date:~6,4%%date:~0,2%%date:~3,2%.%time:~0,2%%time:~3,2%%time:~6,2%` pause
时间: 2024-10-29 10:46:30