简体   繁体   English

在 IDE 中打开 flutter 应用程序时,scrcpy 不会运行

[英]scrcpy won't run when the flutter app is opened in the IDE

hi guys so i'm using a physical device during development and i also have scrcpy screen share installed.大家好,我在开发过程中使用的是物理设备,并且我还安装了 scrcpy 屏幕共享。 the problem is every-time i open a flutter project in the IDE the scrcpy stops and i don't quite understand what's causing this problem.问题是每次我在 IDE 中打开 flutter 项目时,scrcpy 都会停止,我不太明白是什么导致了这个问题。

i'm using Ubuntu 20.04我正在使用 Ubuntu 20.04

Your IDE opens another version of adb.您的 IDE 打开另一个版本的 adb。 Check the output of scrcpy (run scrcpy-console.bat on Windows).检查 scrcpy 的 output(在 Windows 上运行 scrcpy-console.bat)。

See https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions请参阅https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions

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

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