当您使用“ 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.```