[英]After Android Studio Update Bumblebee, The project is not a Gradle-based project
I had fully working Flutter android app.我有完整的 Flutter android 应用程序。 Got an Android Studio update message and updated.
收到 Android Studio 更新消息并更新。 Now it shows "The project is not a Gradle-based project" it doesnt detected as flutter dart app.
现在它显示“该项目不是基于 Gradle 的项目”它没有检测为 flutter dart 应用程序。 And can't run anymore.
而且不能再跑了。 How can i fix?
我该如何解决? build gradle is already exist on android folder and was fully working.
构建 gradle 已经存在于 android 文件夹中并且可以正常工作。 Latest Android Studio update caused the problem.
最新的 Android Studio 更新导致了该问题。
Note: I downloaded previous version (arctic fox) of Android Studio and everything works.注意:我下载了 Android Studio 的先前版本(北极狐),一切正常。 Something is wrong in latest version.
最新版本有问题。
I lost an entire morning yesterday after updating to Bumblebee.昨天更新到 Bumblebee 后,我失去了整个上午。 It broke my Flutter project so badly.
它严重破坏了我的 Flutter 项目。 I couldn't do Android builds or iOS builds anymore (it was insisting I didn't have cocoa pods installed even though I did - even flutter doctor confirmed I did) and after spending hours trying to fix it all I gave up and went back to Arctic Fox and everything was fine again.
I couldn't do Android builds or iOS builds anymore (it was insisting I didn't have cocoa pods installed even though I did - even flutter doctor confirmed I did) and after spending hours trying to fix it all I gave up and went back到北极狐,一切又好了。
I'm glad it's not just me that's had Flutter problems with Bumblebee.我很高兴不只是我遇到了 Bumblebee 的 Flutter 问题。
I suggest rolling back to Arctic Fox and waiting for the next patch release before trying to upgrade again.我建议回滚到北极狐并等待下一个补丁版本,然后再尝试再次升级。
As an aside... I'm on an M1 Mac, so I don't know whether there's some compatibility issue with that.顺便说一句...我在 M1 Mac 上,所以我不知道是否存在兼容性问题。
You may wish to try uninstalling and reinstalling your Flutter and Dart plugins in Android Studio, but that didn't work for me.您可能希望尝试在 Android Studio 中卸载并重新安装 Flutter 和 Dart 插件,但这对我不起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.