fa-component 运行报错 项目没跑起来
来源:1-8 本章作业

ifbrave
2023-11-19
Warning: The plugin package_info_plus requires Android SDK version 33.
For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
FAILURE: Build failed with an exception.
-
Where:
Build file ‘C:\Users\Local\Pub\Cache\hosted\pub.flutter-io.cn\package_info_plus-4.2.0\android\build.gradle’ line: 31 -
What went wrong:
A problem occurred evaluating project ‘:package_info_plus’.
Could not find method namespace() for arguments [dev.fluttercommunity.plus.packageinfo] on extension ‘android’ of type com.android.build.gradle.LibraryExtension.
- 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 1s
Exception: Gradle task assembleDebug failed with exit code 1
1回答
-
CrazyCodeBoy
2023-11-20
更新下package_info_plus到最新版本在试试https://pub.dev/packages/package_info_plus032023-11-21
相似问题