Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superclass has no method named 'createViewConfiguration'. #11

Closed
m-zarif opened this issue Nov 19, 2023 · 4 comments
Closed

Superclass has no method named 'createViewConfiguration'. #11

m-zarif opened this issue Nov 19, 2023 · 4 comments

Comments

@m-zarif
Copy link

m-zarif commented Nov 19, 2023

/C:/Users/UserName/AppData/Local/Pub/Cache/hosted/pub.dev/scaled_app-2.1.0/lib/scaled_app.dart:81:20: Error: Superclass has no method named 'createViewConfiguration'.
return super.createViewConfiguration();
^^^^^^^^^^^^^^^^^^^^^^^

Flutter (Channel stable, 3.16.0, on Microsoft Windows [Version 10.0.22621.2715], locale en-US)
• Flutter version 3.16.0 on channel stable at flutter-sdk-address
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db7ef5bf9f (4 days ago), 2023-11-15 11:25:44 -0800
• Engine revision 74d16627b9
• Dart version 3.2.0
• DevTools version 2.28.2

@LastMonopoly
Copy link
Owner

Will take a look

@chitkosarvesh
Copy link

chitkosarvesh commented Nov 21, 2023

I started having this issue too recently!
Strangely, it happens ONLY on the appcenter builds and nowhere else.
Here's the flutter doctor from the appcenter pipeline.

[✓] Flutter (Channel stable, 3.16.0, on macOS 11.7.10 20G1427 darwin-x64, locale en)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    ✗ Flutter requires Xcode 14 or higher.
      Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] Connected device (2 available)
[✓] Network resources

And, here's the error:

> Task :app:compileFlutterBuildRelease
../../../.pub-cache/hosted/pub.dev/scaled_app-2.1.0/lib/scaled_app.dart:81:20: Error: Superclass has no method named 'createViewConfiguration'.
      return super.createViewConfiguration();
                   ^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception

@rologr35
Copy link
Contributor

@LastMonopoly #12 this is a PR with a minor change to adapt the lib to the new RenderView class.

@LastMonopoly
Copy link
Owner

Thank you @rologr35
The bug is fixed in 2.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants