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

Faced exception after build and then app crashed #304

Closed
ali-alizadeh opened this issue Mar 17, 2020 · 2 comments
Closed

Faced exception after build and then app crashed #304

ali-alizadeh opened this issue Mar 17, 2020 · 2 comments

Comments

@ali-alizadeh
Copy link

Environment

Flutter version: 1.12.13+hotfix.8
Plugin version: 2.1.0+1
Android version: 8.1.0
Device information: Huawei Y7 Prime 2019 (DUB-LX1)

Description

Added the plugin to an empty project but then the app crashed after build.

Expected behavior:

Current behavior:

Steps to reproduce

  1. flutter create --androidx -a java app_name
  2. Add flutter_inappwebview: ^2.1.0+1 to pubspec.
  3. Run the project

Stacktrace/Logcat

D/FlutterActivity( 4989): Using the launch theme as normal theme.
D/FlutterActivityAndFragmentDelegate( 4989): Setting up FlutterEngine.
D/FlutterActivityAndFragmentDelegate( 4989): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
W/FlutterEngine( 4989): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@20b2966) but could not find and invoke the GeneratedPluginRegistrant.
D/FlutterActivityAndFragmentDelegate( 4989): Attaching FlutterEngine to the Activity that owns this Fragment.
Exited (sigint)```
@zhangyc
Copy link

zhangyc commented Apr 7, 2020

你解决了吗?

@pichillilorenzo
Copy link
Owner

Released new version 3.0.0!

This was referenced Jul 6, 2020
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

3 participants