Closed Sakura-1205 closed 1 year ago
放一下初始化代码
Flutter SDK : 3.3.10 Dart Sdk : 2.18.6 flutter_screenutil: ^5.6.0
FAILURE: Build failed with an exception.
Where: Script 'D:\��װ\Flutter\Flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'D:\��װ\Flutter\Flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1
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 11s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)
可能是这个错误导致的?我导入其它插件也报错误,这个有什么解决方法么
没看到有用的日志啊
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
/D:/%E5%AE%89%E8%A3%85/Flutter/Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.6.1/lib/src/screenutil_init.dart(72,16): error G4127D1E8: The getter 'useInheritedMediaQuery' isn't defined for the class 'ScreenUtilInit Function()'. [E:\Commissioning_app\fsu_tool\build\windows\flutter\flutter_assemble.vcxproj]