android - 无法在Android Studio上运行程序flutter.bat

标签 android android-studio flutter flutter-test

我在使用 Android Studio 创建 flutter 项目时遇到问题

Cannot run program "C:\flutter\bin\flutter.bat" (in directory "G:\test"): CreateProcess error=2, The system cannot find the file specified

error screenshot

我尝试授予文件完全控制权限C:\flutter\bin\flutter.bat 但仍然有同样的问题 flutter doctor 日志的屏幕截图 flutter doctor log

最佳答案

如果您使用 Avast Antivirus 程序,它可能删除了 flutter.exe 文件,因为它以某种方式认为它是 IDP.Generic 病毒...

关于android - 无法在Android Studio上运行程序flutter.bat,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64388410/

相关文章:

dart - 如何在 Flutter 的 ScrollView 中限制滚动距离?

android - 错误 :(8, 30) 不允许使用字符串类型(在 'description' 处,值为 'Public Albums of this username will be fetched')

Android SharedPreferences 使用 HashMap/For each 循环设置/检索复选框

android - Android ADT 安装疑难解答

android - 如何使用 RelativeLayout 将按钮对齐到 ImageView 的右侧

java.lang.UnsatisfiedLinkError : dlopen failed: . 所以库是 64 位而不是 32 位

java - Firebase 错误 - 无法在 Android Studio 中计算属性 'extraGeneratedResDir' 的值

android - android studio 的最低硬件要求?

flutter - 如何在 Flutter webview 中读取网站内容?

flutter - 将 ListView 的子项与顶部和底部对齐