You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - looks like a great project. I tried to run it after flutter pub get and it fails with the below (I have no problem building other projects. I did add a .env (it is blank) - could you send a example env please as maybe that is the issue?
Hi - looks like a great project. I tried to run it after
flutter pub get
and it fails with the below (I have no problem building other projects. I did add a .env (it is blank) - could you send a example env please as maybe that is the issue?╭─ ♥ 13:03 | flutter_riverpod_boilerplate_project
╰─ flutter run lib/main.dart
Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:"", local:"extension-level"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
../../../.pub-cache/hosted/pub.dev/flutter_screenutil-5.5.4/lib/src/screen_util.dart:58:5: Error: Type 'FlutterWindow' not found.
FlutterWindow? window,
^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/flutter_screenutil-5.5.4/lib/src/screen_util.dart:58:5: Error: 'FlutterWindow' isn't a type.
FlutterWindow? window,
^^^^^^^^^^^^^
lib/presentation/style/app_theme.dart:11:7: Error: No named parameter with the name 'brightness'.
brightness: Brightness.light,
^^^^^^^^^^
../../../snap/flutter/common/flutter/packages/flutter/lib/src/material/app_bar_theme.dart:29:9: Context: Found this candidate, but the arguments don't match.
const AppBarTheme({
^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script '/home/wayne/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1201
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
BUILD FAILED in 2s
Running Gradle task 'assembleDebug'... 3.1s
Exception: Gradle task assembleDebug failed with exit code 1 ```
The text was updated successfully, but these errors were encountered: