我无法在模拟器上运行Flutter项目

时间:2019-11-03 14:29:49

标签: android flutter

当您使用“ flutter create”命令时,我拥有正常的flutter应用程序。当我尝试将我的Pixel 2模拟器与android 10.0一起运行时,出现此错误:

Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...                                              0.8s
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "C:\Users\Me\Programming\fluttet_app\android\gradlew.bat" exited abnormally:

FAILURE: Build failed with an exception.

* What went wrong:
org/apache/commons/collections/map/ReferenceMap

* 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 0s
  Command: C:\Users\Me\Programming\fluttet_app\android\gradlew.bat app:properties


Please review your Gradle project setup in the android/ folder.```

0 个答案:

没有答案