首页 > 解决方案 > 当我尝试在 Android Studio 中运行模拟器时出现 FlutterPlugin 错误

问题描述

你好吗?当我尝试在 Android Studio 和 Visual Studio Code 上运行模拟器时,会出现以下错误消息:

FAILURE: Build failed with an exception.

* Where:
Script 'C: \ src \ flutter \ packages \ flutter_tools \ gradle \ flutter.gradle' line: 41

* What went wrong:
A problem occurred evaluating script.
> FlutterPlugin

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s
Exception: Gradle task assembleDebug failed with exit code 1

请问,有没有人经历过或曾经经历过并且知道如何解决?谢谢!!

标签: androidandroid-studioflutterdart

解决方案


推荐阅读