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 team, thank you for the wonderful reasource that is learn-graphql.
It seems the flutter tutorial needs to be updated. On a fresh clone of the repo, with the latest version of dart, trying to run the app-final folder gives me the following output:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It's being deprecated in favor of Android embedding v2. Follow the
steps at
https://flutter.dev/go/android-project-migration
to migrate your project.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding.
Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
Launching lib/main.dart on RMX2001 in debug mode...
[!] Your app isn't using AndroidX.
To avoid potential build failures, you can quickly migrate your app by following the steps on https://goo.gl/CP92wY .
Running Gradle task 'assembleDebug'...
../../../../../../../lib/flutter/.pub-cache/hosted/pub.dartlang.org/uuid_enhanced-3.0.2/lib/uuid.dart:9:7: Error: 'UnmodifiableUint8ListView' is restricted and can't be extended or implemented.
class Uuid extends UnmodifiableUint8ListView {
^
FAILURE: Build failed with an exception.
* Where:
Script '/Users/alex/lib/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1005
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/Users/alex/lib/flutter/bin/flutter'' 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 8s
*********************************************************
WARNING: This version of path_provider will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
*********************************************************
Exception: Gradle task assembleDebug failed with exit code 1
Thanks again.
The text was updated successfully, but these errors were encountered:
It is not only that... A lot of the code in there are now nonsense. This may have been working for old flutter versions but now null safety is a must and the code doesn't have anything for null safety. Also the old initialization code is now obsolete. It should be updated for graphql_flutter:5.1 at least. Current code still uses graphql_flutter:3.0.1
Trying to fix this code to understand how entire thing works is a PITA.
Though I think nobody checks here, so I don't think a fix will be here soon enough for me.
Hi team, thank you for the wonderful reasource that is learn-graphql.
It seems the flutter tutorial needs to be updated. On a fresh clone of the repo, with the latest version of dart, trying to run the
app-final
folder gives me the following output:Thanks again.
The text was updated successfully, but these errors were encountered: