Windows上的CMD命令

发送广播

adb shell
am broadcast -a "android.intent.ACTION_DECODE_DATA" --es "barcode_string" "123456"

双开微信

@echo off start "" "C:\Program Files (x86)\Tencent\WeChat\WeChat.exe" start "" "C:\Program Files (x86)\Tencent\WeChat\WeChat.exe" exit

adb连接逍遥模拟器

adb connect 127.0.0.1:21503

adb重启服务

adb kill-server && adb start-server