我正在使用 power shell 编程来截取 android 手机的屏幕截图,并在我们使用 power shell 编程构建的 PC 应用程序的 gui 中显示...
单击屏幕捕获按钮时..它显示sc.png不存在的错误这意味着adb命令没有捕获屏幕并保存在sd cad中......
$buttonTakeScreenCapture_Click={
.\adb.exe shell screencap -p > sc.png
.\adb.exe pull /sdcard/sc.png