Open troyatomic opened 2 years ago
Tried with flutter 2.2.2 (since that was the most recent release around the date on the tutorial) and while I don't get the error mentioned above, it still doesn't build.
I now get this error:
FAILURE: Build failed with an exception.
Where: Settings file '/Users/developer/git/strapi-flutter/strapi_flutter_todo/android/settings.gradle' line: 11
What went wrong: A problem occurred evaluating settings 'android'.
Could not open dsl generic class cache for script '/Users/developer/development/flutter/packages/flutter_tools/gradle/app_plugin_loader.gradle' (/Users/developer/.gradle/caches/6.7/scripts/4dgwyq1rhl0fiob1crsl2jw9h). BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 62
Tried this example with the following and getting compile error.
Flutter 3.0.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision cd41fdd495 (2 weeks ago) • 2022-06-08 09:52:13 -0700 Engine • revision f15f824b57 Tools • Dart 2.17.3 • DevTools 2.12.2
Error:
../../../development/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 {
I'm guessing I should use an older version of Flutter, but there's nothing in the README.md file that says what version this code worked for.