-
Notifications
You must be signed in to change notification settings - Fork 28k
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
[Add2App] Release app doesn't display the flutter view #81350
Comments
Hi @Limy1992 Reproduced on the following channels and modes
Preview
Logcat2021-04-28 13:49:47.513 3725-8175/? D/IOLIMITER: enter the circle of wait for signal, waiting
2021-04-28 13:49:47.518 2722-18795/? D/AudioTrack: ClientUid 1000 AudioTrack::stop
2021-04-28 13:49:47.567 13054-18782/? E/flutter: [ERROR:flutter/shell/common/shell.cc(242)] Dart Unhandled Exception: NoSuchMethodError: No top-level getter 'showCell' declared.
Receiver: top-level
Tried calling: showCell, stack trace: #0 NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:212)
2021-04-28 13:49:47.567 13054-18782/? E/flutter: [ERROR:flutter/runtime/dart_isolate.cc(699)] Could not resolve main entrypoint function.
2021-04-28 13:49:47.568 13054-18782/? E/flutter: [ERROR:flutter/runtime/dart_isolate.cc(190)] Could not run the run main Dart entrypoint.
2021-04-28 13:49:47.568 13054-18782/? E/flutter: [ERROR:flutter/runtime/runtime_controller.cc(401)] Could not create root isolate.
2021-04-28 13:49:47.568 13054-18782/? E/flutter: [ERROR:flutter/shell/common/shell.cc(571)] Could not launch engine with configuration.
2021-04-28 13:49:47.569 13054-13054/? D/OpScreenModeManager: setRefreshRate parent io.flutter.embedding.android.FlutterView{a672e70 VFE...... ......ID 0,0-1080,450} parent width 1080 parent height 450 mRatio 1.2
2021-04-28 13:49:47.569 13054-13054/? D/OpScreenModeManager: setRefreshRate view io.flutter.embedding.android.FlutterSurfaceView{e7e0735 V.E...... ......ID 0,0-1080,450} viewRate 0 width 1080 height 450
2021-04-28 13:49:47.571 13054-13054/? D/OpScreenModeManager: setRefreshRate parent io.flutter.embedding.android.FlutterView{a672e70 VFE...... ........ 0,0-1080,450} parent width 1080 parent height 450 mRatio 1.2
2021-04-28 13:49:47.571 13054-13054/? D/OpScreenModeManager: setRefreshRate view io.flutter.embedding.android.FlutterSurfaceView{e7e0735 V.E...... ........ 0,0-1080,450} viewRate 0 width 1080 height 450
2021-04-28 13:49:47.578 13054-18776/? D/evercode.triag: Successfully load libgui-plugin.so, this=0x7e6dd7c298 flutter doctor -v[✓] Flutter (Channel stable, 2.0.5, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
• Flutter version 2.0.5 at C:\Users\Taha\Code\flutter_stable
• Framework revision adc687823a (12 days ago), 2021-04-16 09:40:20 -0700
• Engine revision b09f014e96
• Dart version 2.12.3
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Taha\Code\SDK
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = C:\Users\Taha\Code\SDK
• Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.9.31205.134
• Windows 10 SDK version 10.0.19041.0
[✓] Android Studio (version 4.1.0)
• Android Studio at C:\Users\Taha\Code\android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] IntelliJ IDEA Community Edition (version 2021.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.55.2)
• VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.21.0
[✓] Connected device (5 available)
• IN2011 (mobile) • c9d8ee0c • android-arm64 • Android 11 (API 30)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19042.928]
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
• Edge (web) • edge • web-javascript • Microsoft Edge 90.0.818.46
! Doctor found issues in 1 category. [✓] Flutter (Channel master, 2.3.0-1.0.pre.143, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
• Flutter version 2.3.0-1.0.pre.143 at C:\Users\Taha\Code\flutter_master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision aecd5e0302 (7 hours ago), 2021-04-28 00:53:57 -0300
• Engine revision 92ef7b59c8
• Dart version 2.14.0 (build 2.14.0-48.0.dev)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Taha\Code\SDK
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = C:\Users\Taha\Code\SDK
• Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.9.31205.134
• Windows 10 SDK version 10.0.19041.0
[✓] Android Studio (version 4.1.0)
• Android Studio at C:\Users\Taha\Code\android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] IntelliJ IDEA Community Edition (version 2021.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.55.2)
• VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.21.0
[✓] Connected device (5 available)
• IN2011 (mobile) • c9d8ee0c • android-arm64 • Android 11 (API 30)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19042.928]
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
• Edge (web) • edge • web-javascript • Microsoft Edge 90.0.818.46
! Doctor found issues in 1 category. |
@gaaclarke The |
…roid_view sample Fixes flutter/flutter#81350
…roid_view sample (#790) Fixes flutter/flutter#81350
Thanks |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
…roid_view sample (#790) Fixes flutter/flutter#81350
demo : https://github.com/flutter/samples/tree/master/add_to_app/android_view
flutter doctor
The text was updated successfully, but these errors were encountered: