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

Error runned on android with flutter fragment #271

Closed
audiserg opened this issue Nov 9, 2021 · 3 comments
Closed

Error runned on android with flutter fragment #271

audiserg opened this issue Nov 9, 2021 · 3 comments
Labels
bug Something isn't working status: needs-additional-info Issues that are missing steps from bug template

Comments

@audiserg
Copy link

audiserg commented Nov 9, 2021

E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method setupPurchases on channel purchases_flutter)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:154:7)

#1 Purchases.setup (package:purchases_flutter/purchases_flutter.dart:47:12)

#2 initPlatformState (package:flutter_ui/subscription/revenue.dart:6:3)

Flutter run in fragment. Library can't find no one method


Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on Mac OS X 10.15.7 19H1217 darwin-x64,
locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS
development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin
code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see
https://guides.cocoapods.org/using/getting-started.html#installation for
instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.62.0)
[✓] Connected device (2 available)

! Doctor found issues in 1 category.

@audiserg audiserg added the bug Something isn't working label Nov 9, 2021
@ghost ghost added the status: needs-additional-info Issues that are missing steps from bug template label Nov 9, 2021
@ghost
Copy link

ghost commented Nov 9, 2021

Hello! It doesn't seem like we have quite enough information to send this to a human yet to help out. We would love if you could provide more details about your issue by following the template without modifying any of the pre-filled text. If you're looking for support, head over to our Help Center to get in touch with our team directly.

@aboedo aboedo mentioned this issue Nov 10, 2021
@audiserg
Copy link
Author

I found that problem solved in this thread flutter/flutter#66230 . Reason: FlutterFragment not registering GeneratedPluginRegistrant

@JazmineMT
Copy link
Contributor

Hey @audiserg ,

Glad you were able to resolve your issue! Have a great rest of your week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: needs-additional-info Issues that are missing steps from bug template
Projects
None yet
Development

No branches or pull requests

2 participants