我正在尝试运行Flutter Demo应用,但我收到此消息:
FAILURE: Build failed with an exception.
* What went wrong:
java.lang.ExceptionInInitializerError (no error message)
java.lang.ExceptionInInitializerError,并且编译失败。
我尝试按照另一个堆栈溢出答案删除.gradle文件夹,但在文件列表中找不到该文件。
这是错误消息:
C:\Programming\flutterTest\myapp>flutter run
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... |
Oops; flutter has exited unexpectedly. Sending crash report to Google.
Crash report sent (report ID: 8052264d7c52a914)
Initializing gradle...
Crash report written to C:\Programming\flutterTest\myapp\flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.
和我的flutter_01.log位于: https://pastebin.com/PS4dqe11
我认为这与gradle有关。 感谢您的帮助。