通过Android设备无法运行Flutter项目
E:\pro67\sample>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: d2c5927ef8c4aebb)
Initializing gradle... \Crash report written to E:\pro67\sample\flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.
答案 0 :(得分:0)
运行命令flutter doctor
并检查是否正确安装了flutter
答案 1 :(得分:0)
如shayan所建议的,您应该运行flutter doctor
,如果应用程序在启动时继续崩溃,则应检查Logcat,因为这是所有android系统日志都流到的地方。