Open robert-virkus opened 2 years ago
Hello @robert-virkus. I can reproduce the distorted behavior you described. Though, can you provide me with an example of a crash happening? Any URL or specific HTML content that causes this?
Calling this with https://enough.de/bug/crash.html as the URL leads to a distorted view on the emulator but to a crash on my Android 11 / API Levevl 30 device.
The main culprit seems to be io.flutter.embedding.engine.renderer.SurfaceTextureWrapper.updateTexImage
:
[ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.RuntimeException: Error during updateTexImage (see logcat for details)
E/flutter (18699): at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
E/flutter (18699): at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:248)
E/flutter (18699): at io.flutter.embedding.engine.renderer.SurfaceTextureWrapper.updateTexImage(SurfaceTextureWrapper.java:55)
Thank you @robert-virkus for that URL. I can confirm that the app does crash in both stable and master channels.
flutter run --verbose
(distorted view)flutter run --verbose
(crash)I was able to reproduce the crash on my physical device running Android 12. On an emulator, the content is distorted. So this crash and the distorted behavior might be related, hence I am not suggesting two separate issues both. If you disagree, feel free to raise a separate issue for the crash.
flutter doctor -v
(Stable)flutter doctor -v
(Master)CC: @blasten
We have exactly the same problem. We used a work around to give a maximal height to webview and use specific gesture recognizer to scroll in the sized webview so users can still see the whole content (by scrolling it by hand)
I'm having this issue with too, loading webview from local html string. However, it's only happen on really long web pages. Shorter pages work just fine.
My webview update its height dynamically, according to result returned by javascript code.
After some experimentation, I found one bandage 'fix' is to limit webview's height to around 6000.
Hope this issue get fixed soon.
@anhtuan23 there were similar problems in the past, limiting the webview's height was working but the actual value was device and memory dependent.
any update?
I have the same issue when update the Container's(parent of a WebView) height property dynamically.
My webview update its height dynamically, according to result returned by javascript code.
After some experimentation, I found one bandage 'fix' is to limit webview's height to around 6000.
Hope this issue get fixed soon.
Wouldn't recommend this, in my testing it crashes on different sizes. On lower end devices as low as 1500
I'm having this issue with too, loading webview from local html string. The same html,in Flutter2.8,everything is ok,but,in Flutter3.0.3,crash.
Logs:
`I/flutter (27151): InAppWebView:addWebHeightListener:height=8065.0,webHeight=1.0
I/HwViewRootImpl(27151): removeInvalidNode all the node in jank list is out of time
E/OpenGLRenderer(27151): [SurfaceTexture-0-27151-1] bindTextureImage: error binding external image: 0x501
E/flutter (27151): [ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.RuntimeException: Error during updateTexImage (see logcat for details)
E/flutter (27151): at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
E/flutter (27151): at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:248)
E/flutter (27151): at io.flutter.embedding.engine.renderer.SurfaceTextureWrapper.updateTexImage(SurfaceTextureWrapper.java:55)
E/flutter (27151):
F/flutter (27151): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1322)] Check failed: fml::jni::CheckException(env).
F/libc (27151): Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 28725 (1.raster), pid 27151 (.cmstop.newsapp)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'HUAWEI/ANA-AN00/HWANA:10/HUAWEIANA-AN00/102.0.0.243C00:user/release-keys'
Revision: '0'
ABI: 'arm64'
SYSVMTYPE: Maple
APPVMTYPE: Art
Timestamp: 2022-07-12 15:38:58+0800
pid: 27151, tid: 28725, name: 1.raster >>> com.cmstop.newsapp <<<
uid: 10255
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1322)] Check failed: fml::jni::CheckException(env).
'
x0 0000000000000000 x1 0000000000007035 x2 0000000000000006 x3 000000799afe7c10
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 7f7f7f7f7f7f7f7f
x8 00000000000000f0 x9 4719a39304234a95 x10 0000000000000001 x11 0000000000000000
x12 fffffff0fffffbdf x13 ffffffffffffffff x14 ffffffffff000000 x15 ffffffffffffffff
x16 0000007a92c66a08 x17 0000007a92c467c0 x18 000000797dc3c000 x19 0000000000006a0f
x20 0000000000007035 x21 00000000ffffffff x22 000000794a265198 x23 000000790f7153a8
x24 00000079fef2a180 x25 0000000000000000 x26 0000000000000001 x27 0000000000000001
x28 0000000000000078 x29 000000799afe7cb0
sp 000000799afe7bf0 lr 0000007a92bfb640 pc 0000007a92bfb66c
backtrace:
#00 pc 000000000007066c /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: b91c775ccc9b0556e91bc575a2511cd0)
#01 pc 000000000156e94c /data/app/*-jS8KMqPCH7akTUNfzXqV3Q==/base.apk!libflutter.so (offset 0x313c000) (BuildId: d2514a2e89c1a7f5dffdf1f4478a663a9bfb2120)`
I have the same issue when updating height property dynamically.
Hello everybody. I recommend you thumbs up the original post (https://github.com/flutter/flutter/issues/104889#issue-1251640345) instead of commenting "same here". This will give us a better idea about which issues to prioritize. Thank you :)
The only way to fix the current issue is to downgrade to flutter 2 version? Any other solution?
@robert-virkus @exaby73 do you have any solution?
Our team at AppMachine is struggling to find a good workaround for this fatal crash, for us it's impacting multiple play store apps.
Can any of you think of a good workaround? might it be possible to bump it to a higher priority?
Our team at AppMachine is struggling to find a good workaround for this fatal crash, for us it's impacting multiple play store apps.
Can any of you think of a good workaround? might it be possible to bump it to a higher priority?
the only current solution is to stay on flutter 2
I also have the same problem when displaying email content on webview_flutter
#884
My app has a webview inside a CustomScrollView
. When I render big HTML contents in the webview, the Android app crashes.
any update?
I have the same issue when update the height property dynamically. Any update for this?
Hello everybody. I recommend you thumbs up the original post (https://github.com/flutter/flutter/issues/104889#issue-1251640345) instead of commenting "same here". The team uses thumbs up reactions to prioritize issues. Thank you.
is there any updates? or any way to avoid this problem!
I have this problem too.
@ixinrun Please thumbs up the original post (https://github.com/flutter/flutter/issues/104889#issue-1251640345)
Is there any workaround to treat this issue? downgrading to version 2 is not an option for me
Is there any workaround to treat this issue? downgrading to version 2 is not an option for me
We are using flutter_widget_from_html as a workaround.
We used a webview widget with a fixed (maximized) height SizedBox parent and use gestureRecognizer (PlatformViewVerticalGestureRecognizer) on the webview so users can scroll IN the sizedbox.
We used a webview widget with a fixed (maximized) height SizedBox parent and use gestureRecognizer (PlatformViewVerticalGestureRecognizer) on the webview so users can scroll IN the sizedbox.
Thank you for suggesting this, it worked for me
Dear @contributors, this Bug is very critical and annoying. Temporary solutions do not work in all cases. When will a solution be issued for it?
I ended up splitting HTML in parts and showing multiple webview inside a listview, does not crash then.
The issue seems to be relevant only when one webview has too much height.
@stuartmorgan This looks like an issue with TLHC. When I converted the code to use Hybrid Composition, the example code provided worked as expected. This is also probably why this doesn't happen in pre-3.0.0. In the new implementation, I believe we could include a flag for HC again for a temporary fix.
It will take some investigation why this is happening with TLHC. It could be related to resizing?
Looking at the docs for SurfaceTexture.setDefaultBufferSize, theres is a limit to the size that can be set. It also states that an error will possibly occur that involves the updateTexImage()
method.
For TLHC, we are setting the size at https://github.com/flutter/engine/blob/main/shell/platform/android/io/flutter/plugin/platform/PlatformViewWrapper.java#L159. This is probably the source of the stretch and the crash. It is a limitation of the Android platform.
I don't think there is much we can do besides offer an option to use Hybrid Composition and providing a better error when the buffer size is set too large.
Thanks for looking into this @bparrishMines - can you explain how hybrid mode can solve this problem?
I understand that hybrid composition is the default and the default is being used in the original (crashing) code sample...
@bparrishMines There is no problem if the same issue is implemented as Android Native. Also, in the case of Flutter 2.0 version, there is no problem even in case of specific phone. I think it's difficult to see it as simply a buffer size issue and it is difficult to conclude that it is a limitation of the Android platform.
I understand that hybrid composition is the default
This is generally not the case for Flutter 3.0+; the docs around rendering mode for webview_flutter are currently outdated (see https://github.com/flutter/flutter/issues/108106).
There is no problem if the same issue is implemented as Android Native.
This is not surprising since TLHC doesn't use views in the usual way.
Also, in the case of Flutter 2.0 version, there is no problem
TLHC didn't exist as a platform view mode until Flutter 3.0, so it's normal that an issue specific to that mode wouldn't reproduce in Flutter 2.
I think it's difficult to see it as simply a buffer size issue and it is difficult to conclude that it is a limitation of the Android platform.
I'm not sure why you believe that it's difficult to conclude that limitation documented in the platform API that we are using to implement TLHC is a limitation in the platform. If you are aware of a different way to implement the relevant texture paths that aren't subject to this documented limitation, pointers are welcome.
@bparrishMines I've updated https://github.com/flutter/flutter/issues/108106 accordingly; once v4 lands we can plumb the option in.
I understood that using hybrid composition might solve the crash. I tried the following in the above sample project:
if (Platform.isAndroid) WebView.platform = AndroidWebView();
and
if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
Borth crash with the same stacktrace:
E/flutter (31998): [ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.RuntimeException: Error during updateTexImage (see logcat for details) E/flutter (31998): at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method) E/flutter (31998): at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:248) E/flutter (31998): at io.flutter.embedding.engine.renderer.SurfaceTextureWrapper.updateTexImage(SurfaceTextureWrapper.java:55) E/flutter (31998):
Looking forward to the v4 release!
I tried the following in the above sample project:
if (Platform.isAndroid) WebView.platform = AndroidWebView();
andif (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
That selection currently doesn't do anything in Flutter 3.0 and later, per the issue referenced in my comment above.
Hello @stuartmorgan I am testing against webview_flutter 4.0.1 version. However, in the part mentioned in the document
This can be configured for versions >=23 with AndroidWebViewWidgetCreationParams.displayWithHybridComposition
Can you also provide an example of how to set the displayWithHybridComposition value?
@JosephNK There are examples of using platform-specific parameters later in the readme: https://pub.dev/packages/webview_flutter#platform-specific-features
@stuartmorgan WebViewWidget.fromPlatformCreationParams seems to be used like this. I don't know if this is correct. Thank you.
...
late final WebViewController _webViewController;
...
@override
Widget build(BuildContext context) {
...
late WebViewWidget webViewWidget;
if (_webViewController.platform is AndroidWebViewController) {
final androidWebViewController =
(_webViewController.platform as AndroidWebViewController);
webViewWidget = WebViewWidget.fromPlatformCreationParams(
params: AndroidWebViewWidgetCreationParams
.fromPlatformWebViewWidgetCreationParams(
AndroidWebViewWidgetCreationParams(
controller: androidWebViewController,
gestureRecognizers: gestureRecognizers,
),
displayWithHybridComposition: true,
),
);
} else {
webViewWidget = WebViewWidget(
controller: _webViewController,
gestureRecognizers: gestureRecognizers,
);
}
...
return ...
}
@bparrishMines Maybe it's worth adding example code to for HC to webview_flutter_android
since it seems like there's some confusion about these APIs.
@stuartmorgan @bparrishMines When are you going to add HC examples to webview_flutter_android
?
@JosephNK Sorry, here is an example of using Hybrid Composition:
late final WebViewWidget webViewWidget;
if (WebViewPlatform.instance is AndroidWebViewPlatform) {
webViewWidget = WebViewWidget.fromPlatformCreationParams(
params: AndroidWebViewWidgetCreationParams(
controller: _webViewController.platform,
displayWithHybridComposition: true,
),
);
} else {
webViewWidget = WebViewWidget(controller: _webViewController);
}
@bparrishMines Maybe it's worth adding example code to for HC to webview_flutter_android since it seems like there's some confusion about these APIs.
Yea, that or it might be worth adding more example code using platform specific code to the dart docs of each class in webview_flutter
.
@bparrishMines Thank you
AndroidWebViewPlatform
But this's will lead to , webview don't destroy!!!
Now, I am also facing this crash. When this will be fixed ?
This issue is assigned to @johnmccutchan but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
When using a webview inside of a scrollview, some content renders a completely distorted page and some content even crashes the app. This problem only affects Androidm the same app, on iOS the same code results in a correclty rendered web page. Rendering the same content also works fine on Android, when not embedding the webview inside of a scrollview.
Steps to Reproduce
flutter run
on the code sampleExpected results: A web view that is shown within a scrollable view should render content corretly and without crashing the app.
Actual results: A completely distorted page, some html code also crashes the app.
Code sample
```dart import 'package:flutter/material.dart'; import 'package:webview_flutter/webview_flutter.dart'; // import 'package:flutter_inappwebview/flutter_inappwebview.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Crash Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: const MyHomePage(title: 'Crash'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({Key? key, required this.title}) : super(key: key); final String title; @override StateLogs
``` flutter run --verbose [ +238 ms] executing: [C:\Users\User\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +733 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ +1 ms] executing: [C:\Users\User\flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ +148 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268 [ +1 ms] 3.0.1 [ +19 ms] executing: [C:\Users\User\flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +112 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ +1 ms] origin/stable [ ] executing: [C:\Users\User\flutter/] git ls-remote --get-url origin [ +104 ms] Exit code 0 from: git ls-remote --get-url origin [ +1 ms] https://github.com/flutter/flutter.git [ +341 ms] executing: [C:\Users\User\flutter/] git rev-parse --abbrev-ref HEAD [ +111 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ +1 ms] stable [ +228 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +11 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +191 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l [ +199 ms] List of devices attached emulator-5554 device product:sdk_gphone_x86 model:sdk_gphone_x86 device:generic_x86_arm transport_id:5 [ +35 ms] C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell getprop [ +223 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +3 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +21 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ +2 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +5 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +515 ms] Skipping pub get: version match. [ +151 ms] Found plugin webview_flutter at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-3.0.4\ [ +23 ms] Found plugin webview_flutter_android at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter_android-2.8.9\ [ +14 ms] Found plugin webview_flutter_wkwebview at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter_wkwebview-2.8.0\ [ +176 ms] Found plugin webview_flutter at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-3.0.4\ [ +12 ms] Found plugin webview_flutter_android at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter_android-2.8.9\ [ +11 ms] Found plugin webview_flutter_wkwebview at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter_wkwebview-2.8.0\ [ +37 ms] Generating C:\Users\User\Development\bug\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +298 ms] ro.hardware = ranchu [ +40 ms] Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering". [ +91 ms] Initializing file store [ +40 ms] Skipping target: gen_localizations [ +19 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\User\Development\bug\.dart_tool\package_config_subset} [ +83 ms] Found plugin webview_flutter at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter-3.0.4\ [ +9 ms] Found plugin webview_flutter_android at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter_android-2.8.9\ [ +9 ms] Found plugin webview_flutter_wkwebview at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\webview_flutter_wkwebview-2.8.0\ [ +20 ms] gen_dart_plugin_registrant: Complete [ +9 ms] Skipping target: _composite [ +8 ms] complete [ +21 ms] Launching lib\main.dart on sdk gphone x86 in debug mode... [ +19 ms] C:\Users\User\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\User\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\Users\User\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\User\AppData\Local\Temp\flutter_tools.fb260c8d\flutter_tool.ecb6883a\app.dill --packages C:\Users\User\Development\bug\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy [ +43 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1 [ +51 ms] <- compile package:bug/main.dart [ +266 ms] --------- beginning of main 05-28 15:53:40.921 I/goldfish_avcdec( 440): received EOS, re-create host context [ +34 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe version [ +110 ms] Android Debug Bridge version 1.0.41 Version 33.0.0-8141338 Installed as C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe [ +8 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server [ +92 ms] Building APK [ +42 ms] Running Gradle task 'assembleDebug'... [ +16 ms] Using gradle from C:\Users\User\Development\bug\android\gradlew.bat. [ +53 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +392 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +3 ms] openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode) [ +5 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +371 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +3 ms] openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode) [ +5 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +357 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +3 ms] openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode) [ +5 ms] executing: [C:\Users\User\Development\bug\android/] C:\Users\User\Development\bug\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=C:\Users\User\Development\bug\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug [+2347 ms] Welcome to Gradle 7.4! [ +3 ms] Here are the highlights of this release: [ +2 ms] - Aggregated test and JaCoCo reports [ +1 ms] - Marking additional test source directories as tests in IntelliJ [ +2 ms] - Support for Adoptium JDKs in Java toolchains [ +2 ms] For more details see https://docs.gradle.org/7.4/release-notes.html [+5992 ms] > Task :app:preBuild UP-TO-DATE [ +14 ms] > Task :app:preDebugBuild UP-TO-DATE [ +4 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE [+29948 ms] > Task :app:compileFlutterBuildDebug [+10219 ms] > Task :app:packLibsflutterBuildDebug [ +7 ms] > Task :webview_flutter_android:preBuild UP-TO-DATE [ +3 ms] > Task :webview_flutter_android:preDebugBuild UP-TO-DATE [ +3 ms] > Task :webview_flutter_android:compileDebugAidl NO-SOURCE [ +4 ms] > Task :app:compileDebugAidl NO-SOURCE [ +4 ms] > Task :webview_flutter_android:packageDebugRenderscript NO-SOURCE [ +9 ms] > Task :app:compileDebugRenderscript NO-SOURCE [ +61 ms] > Task :app:generateDebugBuildConfig [ +3 ms] > Task :app:cleanMergeDebugAssets UP-TO-DATE [ +2 ms] > Task :webview_flutter_android:writeDebugAarMetadata [ +1 ms] > Task :app:mergeDebugShaders [ +1 ms] > Task :app:compileDebugShaders NO-SOURCE [ +3 ms] > Task :app:generateDebugAssets UP-TO-DATE [ +1 ms] > Task :webview_flutter_android:mergeDebugShaders [ +1 ms] > Task :webview_flutter_android:compileDebugShaders NO-SOURCE [ +1 ms] > Task :webview_flutter_android:generateDebugAssets UP-TO-DATE [ +68 ms] > Task :webview_flutter_android:packageDebugAssets [ +109 ms] > Task :app:mergeDebugAssets [ +6 ms] > Task :app:checkDebugAarMetadata [ +893 ms] > Task :app:copyFlutterAssetsDebug [ +4 ms] > Task :app:generateDebugResValues [ +2 ms] > Task :app:generateDebugResources [ +3 ms] > Task :webview_flutter_android:compileDebugRenderscript NO-SOURCE [ +5 ms] > Task :webview_flutter_android:generateDebugResValues [ +4 ms] > Task :webview_flutter_android:generateDebugResources [ +73 ms] > Task :webview_flutter_android:packageDebugResources [+1665 ms] > Task :app:createDebugCompatibleScreenManifests [ +387 ms] > Task :app:extractDeepLinksDebug [ +237 ms] > Task :webview_flutter_android:extractDeepLinksDebug [ +14 ms] > Task :webview_flutter_android:compileDebugLibraryResources [ +5 ms] > Task :webview_flutter_android:processDebugManifest [ +5 ms] > Task :webview_flutter_android:generateDebugBuildConfig [ +81 ms] > Task :webview_flutter_android:parseDebugLocalResources [ +137 ms] > Task :webview_flutter_android:javaPreCompileDebug [ +31 ms] > Task :app:javaPreCompileDebug [ +6 ms] > Task :app:processDebugJavaRes NO-SOURCE [ +8 ms] > Task :webview_flutter_android:processDebugJavaRes NO-SOURCE [ +2 ms] > Task :webview_flutter_android:bundleLibResDebug NO-SOURCE [ +1 ms] > Task :app:mergeDebugResources [ +1 ms] > Task :app:checkDebugDuplicateClasses [ +117 ms] > Task :app:processDebugMainManifest [ +6 ms] > Task :app:processDebugManifest [ +204 ms] > Task :app:processDebugManifestForPackage [ +21 ms] > Task :app:mergeDebugJniLibFolders [ +1 ms] > Task :webview_flutter_android:mergeDebugJniLibFolders [ +66 ms] > Task :webview_flutter_android:mergeDebugNativeLibs NO-SOURCE [ +4 ms] > Task :webview_flutter_android:copyDebugJniLibsProjectOnly [ +2 ms] > Task :webview_flutter_android:generateDebugRFile [ +5 ms] > Task :app:validateSigningDebug [ +15 ms] > Task :app:writeDebugAppMetadata [ +82 ms] > Task :app:desugarDebugFileDependencies [ +14 ms] > Task :app:writeDebugSigningConfigVersions [ +265 ms] > Task :webview_flutter_android:stripDebugDebugSymbols NO-SOURCE [ +22 ms] > Task :webview_flutter_android:copyDebugJniLibsProjectAndLocalJars [+1064 ms] > Task :app:compressDebugAssets [ +681 ms] Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due to the following reasons: [ +531 ms] - Gradle detected a problem with the following location: 'C:\Users\User\Development\bug\build\app\intermediates\assets\debug\mergeDebugAssets'. Reason: Task ':app:compressDebugAssets' uses this output of task ':app:copyFlutterAssetsDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem. [+2703 ms] > Task :webview_flutter_android:compileDebugJavaWithJavac [ +7 ms] Note: Some input files use or override a deprecated API. [ +7 ms] Note: Recompile with -Xlint:deprecation for details. [ +492 ms] > Task :webview_flutter_android:bundleLibRuntimeToJarDebug [ +3 ms] > Task :webview_flutter_android:bundleLibCompileToJarDebug [ +1 ms] > Task :app:processDebugResources [ +1 ms] > Task :app:mergeExtDexDebug [ +282 ms] > Task :webview_flutter_android:extractDebugAnnotations [+3007 ms] > Task :app:mergeDebugNativeLibs [+18792 ms] > Task :app:compileDebugKotlin [ +801 ms] > Task :app:compileDebugJavaWithJavac [ +526 ms] > Task :app:dexBuilderDebug [+1521 ms] > Task :app:stripDebugDebugSymbols [ +486 ms] Unable to strip the following libraries, packaging them as they are: libflutter.so. [ +313 ms] > Task :webview_flutter_android:mergeDebugGeneratedProguardFiles UP-TO-DATE [ +35 ms] > Task :webview_flutter_android:mergeDebugConsumerProguardFiles UP-TO-DATE [ +24 ms] > Task :webview_flutter_android:prepareDebugArtProfile UP-TO-DATE [ +3 ms] > Task :webview_flutter_android:prepareLintJarForPublish UP-TO-DATE [ +11 ms] > Task :webview_flutter_android:mergeDebugJavaResource [ +3 ms] > Task :webview_flutter_android:syncDebugLibJars [ +2 ms] > Task :webview_flutter_android:bundleDebugAar [ +1 ms] > Task :webview_flutter_android:assembleDebug [ +271 ms] > Task :app:mergeDebugJavaResource [ +599 ms] > Task :app:mergeDexDebug [+4040 ms] > Task :app:packageDebug [ +53 ms] > Task :app:createDebugApkListingFileRedirect [ +413 ms] > Task :app:assembleDebug [ +42 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. [ +7 ms] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. [ +3 ms] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings [ +2 ms] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness. [ +1 ms] Please consult deprecation warnings for more details. [ +4 ms] BUILD SUCCESSFUL in 1m 29s [ +2 ms] 61 actionable tasks: 56 executed, 5 up-to-date [ +615 ms] Running Gradle task 'assembleDebug'... (completed in 91,8s) [ +96 ms] calculateSha: LocalDirectory: 'C:\Users\User\Development\bug\build\app\outputs\flutter-apk'/app.apk [+1249 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk. [ +17 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\build-tools\31.0.0\aapt dump xmltree C:\Users\User\Development\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +82 ms] Exit code 0 from: C:\Users\User\AppData\Local\Android\Sdk\build-tools\31.0.0\aapt dump xmltree C:\Users\User\Development\bug\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +4 ms] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12") A: package="com.example.bug" (Raw: "com.example.bug") A: platformBuildVersionCode=(type 0x10)0x1f A: platformBuildVersionName=(type 0x10)0xc E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f E: uses-permission (line=15) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: application (line=17) A: android:label(0x01010001)="bug" (Raw: "bug") A: android:icon(0x01010002)=@0x7f080000 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=23) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=38) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0a0001 E: intent-filter (line=42) E: action (line=43) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=45) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=52) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: uses-library (line=56) A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions") A: android:required(0x0101028e)=(type 0x12)0x0 E: uses-library (line=59) A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar") A: android:required(0x0101028e)=(type 0x12)0x0 [ +14 ms] Stopping app 'app.apk' on sdk gphone x86. [ +2 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.example.bug [ +399 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.example.bug [ +369 ms] package:com.example.bug [ +9 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.example.bug.sha1 [ +202 ms] 23ea5cba1980e9a44f4703cbe2e02795744637c4 [ +6 ms] Installing APK. [ +4 ms] Installing build\app\outputs\flutter-apk\app.apk... [ +1 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 install -t -r C:\Users\User\Development\bug\build\app\outputs\flutter-apk\app.apk [+1952 ms] Performing Streamed Install Success [ +6 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 1.956ms) [ +3 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell echo -n 1cf08a6872c2d9958ec368a4e343ce48cf9f38c9 > /data/local/tmp/sky.com.example.bug.sha1 [ +108 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1 [ +384 ms] --------- beginning of system 05-28 15:55:33.726 W/BroadcastQueue( 538): Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.example.bug flg=0x4000010 (has extras) } to com.google.android.ims/.receivers.RcsAutoStartReceiver [ +26 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.bug/com.example.bug.MainActivity [ +463 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) } [ +4 ms] Waiting for observatory port to be available... [+3073 ms] Observatory URL on device: http://127.0.0.1:33679/uagGnwOoe7I=/ [ +10 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:33679 [ +107 ms] 57950 [ +2 ms] Forwarded host port 57950 to device port 33679 for Observatory [ +18 ms] Caching compiled dill [ +70 ms] Connecting to service protocol: http://127.0.0.1:57950/uagGnwOoe7I=/ [ +631 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:57950/uagGnwOoe7I=/. [ +327 ms] DDS is listening at http://127.0.0.1:57954/flCMKkZuzX8=/. [ +142 ms] Successfully connected to service protocol: http://127.0.0.1:57950/uagGnwOoe7I=/ [ +138 ms] DevFS: Creating new filesystem on the device (null) [ +62 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugJJXMHS/bug/) [ +7 ms] Updating assets [ +197 ms] Syncing files to device sdk gphone x86... [ +8 ms] <- reset [ +2 ms] Compiling dart to kernel with 0 updated files [ +2 ms] Processing bundle. [ +3 ms] <- recompile package:bug/main.dart 6ecb46af-36a4-47ca-9193-cb7297b55f10 [ +1 ms] <- 6ecb46af-36a4-47ca-9193-cb7297b55f10 [ +6 ms] Bundle processing done. [ +382 ms] Updating files. [ +3 ms] DevFS: Sync finished [ +3 ms] Syncing files to device sdk gphone x86... (completed in 409ms) [ +2 ms] Synced 0.0MB. [ +5 ms] <- accept [ +16 ms] Connected to _flutterView/0xeea440e0. [ +7 ms] Flutter run key commands. [ +5 ms] r Hot reload. [ +2 ms] R Hot restart. [ +2 ms] h List all available interactive commands. [ +3 ms] d Detach (terminate "flutter run" but leave application running). [ +2 ms] c Clear the screen [ +1 ms] q Quit (terminate the application on the device). [ +2 ms] Running with sound null safety [ +3 ms] An Observatory debugger and profiler on sdk gphone x86 is available at: http://127.0.0.1:57954/flCMKkZuzX8=/ [+1179 ms] I/WebViewFactory(17753): Loading com.google.android.webview version 83.0.4103.106 (code 410410681) [ +9 ms] I/com.example.bu(17753): The ClassLoaderContext is a special shared library. [ +7 ms] D/nativeloader(17753): classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/x86:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86:/product/app/Trich romeLibrary/TrichromeLibrary.apk!/lib/x86:/product/lib:/system/product/lib [ +59 ms] I/com.example.bu(17753): The ClassLoaderContext is a special shared library. [ +4 ms] D/nativeloader(17753): classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/x86:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86:/product/app/Trich romeLibrary/TrichromeLibrary.apk!/lib/x86:/product/lib:/system/product/lib [ +82 ms] I/cr_LibraryLoader(17753): Loaded native library version number "83.0.4103.106" [ +9 ms] I/cr_CachingUmaRecorder(17753): Flushed 3 samples from 3 histograms. [ +121 ms] I/TetheringManager(17753): registerTetheringEventCallback:com.example.bug [ +24 ms] W/chromium(17753): [WARNING:dns_config_service_posix.cc(341)] Failed to read DnsConfig. [ +357 ms] I/Choreographer(17753): Skipped 40 frames! The application may be doing too much work on its main thread. [ +491 ms] W/Gralloc4(17753): allocator 3.x is not supported [ +18 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [ +389 ms] E/chromium(17753): [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS [ +28 ms] D/EGL_emulation(17753): eglCreateContext: 0xeea0d130: maj 2 min 0 rcv 2 [ +6 ms] D/EGL_emulation(17753): eglMakeCurrent: 0xeea0d130: ver 2 0 (tinfo 0xeed6fc90) (first time) [ +50 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [ +82 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 is available at: http://127.0.0.1:9105?uri=http://127.0.0.1:57954/flCMKkZuzX8=/ [ +46 ms] D/HostConnection(17753): HostConnection::get() New Host Connection established 0xeea0e010, tid 17850 [ +3 ms] W/com.example.bu(17753): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed) [ +58 ms] D/HostConnection(17753): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_2 [ +13 ms] E/chromium(17753): [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS [ +10 ms] W/cr_media(17753): Requires BLUETOOTH permission [ +19 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [ +335 ms] I/VideoCapabilities(17753): Unsupported profile 4 for video/mp4v-es [ +10 ms] W/cr_MediaCodecUtil(17753): HW encoder for video/avc is not available on this device. [ +109 ms] D/EGL_emulation(17753): eglCreateContext: 0xeea26500: maj 2 min 0 rcv 2 [ +6 ms] D/EGL_emulation(17753): eglMakeCurrent: 0xeea26500: ver 2 0 (tinfo 0xbb262bd0) (first time) [ +215 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [+2686 ms] I/chatty (17753): uid=10164(com.example.bug) RenderThread identical 18 lines [ +3 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [+2263 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [ +835 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [ +108 ms] I/cr_MediaCodecBridge(17753): create MediaCodec video decoder, mime video/avc [ +19 ms] I/OMXClient(17753): IOmx service obtained [ +25 ms] I/MediaCodec(17753): MediaCodec will operate in async mode [ +6 ms] D/SurfaceUtils(17753): connecting to surface 0xe9352e58, reason connectToSurface [ +4 ms] I/MediaCodec(17753): [OMX.android.goldfish.h264.decoder] setting surface generation to 18179073 [ +2 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe9352e58, reason connectToSurface(reconnect) [ +4 ms] D/SurfaceUtils(17753): connecting to surface 0xe9352e58, reason connectToSurface(reconnect) [ +6 ms] E/ACodec (17753): [OMX.android.goldfish.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010 [ +63 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe9352e58, reason setNativeWindowSizeFormatAndUsage [ +2 ms] D/SurfaceUtils(17753): connecting to surface 0xe9352e58, reason setNativeWindowSizeFormatAndUsage [ +2 ms] D/SurfaceUtils(17753): set up nativeWindow 0xe9352e58 for 1632x1080, color 0x13, rotation 0, usage 0x1002900 [ +44 ms] I/cr_MediaCodecBridge(17753): create MediaCodec video decoder, mime video/avc [ +52 ms] I/OMXClient(17753): IOmx service obtained [ +11 ms] I/MediaCodec(17753): MediaCodec will operate in async mode [ +3 ms] D/SurfaceUtils(17753): connecting to surface 0xe93579e8, reason connectToSurface [ +1 ms] I/MediaCodec(17753): [OMX.android.goldfish.h264.decoder] setting surface generation to 18179074 [ +1 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe93579e8, reason connectToSurface(reconnect) [ +1 ms] D/SurfaceUtils(17753): connecting to surface 0xe93579e8, reason connectToSurface(reconnect) [ +1 ms] E/ACodec (17753): [OMX.android.goldfish.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010 [ +40 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe93579e8, reason setNativeWindowSizeFormatAndUsage [ +6 ms] D/SurfaceUtils(17753): connecting to surface 0xe93579e8, reason setNativeWindowSizeFormatAndUsage [ +2 ms] D/SurfaceUtils(17753): set up nativeWindow 0xe93579e8 for 1632x1080, color 0x13, rotation 0, usage 0x1002900 [ +391 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [ +38 ms] I/cr_MediaCodecBridge(17753): create MediaCodec video decoder, mime video/avc [ +23 ms] I/OMXClient(17753): IOmx service obtained [ +18 ms] I/MediaCodec(17753): MediaCodec will operate in async mode [ +1 ms] D/SurfaceUtils(17753): connecting to surface 0xe935c578, reason connectToSurface [ +1 ms] I/MediaCodec(17753): [OMX.android.goldfish.h264.decoder] setting surface generation to 18179075 [ +3 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe935c578, reason connectToSurface(reconnect) [ +2 ms] D/SurfaceUtils(17753): connecting to surface 0xe935c578, reason connectToSurface(reconnect) [ +2 ms] E/ACodec (17753): [OMX.android.goldfish.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010 [ +52 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe935c578, reason setNativeWindowSizeFormatAndUsage [ +3 ms] D/SurfaceUtils(17753): connecting to surface 0xe935c578, reason setNativeWindowSizeFormatAndUsage [ +3 ms] D/SurfaceUtils(17753): set up nativeWindow 0xe935c578 for 1632x1080, color 0x13, rotation 0, usage 0x1002900 [ +430 ms] E/FrameEvents(17753): updateAcquireFence: Did not find frame. [ +29 ms] E/GraphicBufferAllocator(17753): Failed to allocate (1080 x 29899) layerCount 1 format 1 usage 100: 5 [ +6 ms] E/BufferQueueProducer(17753): [SurfaceTexture-0-17753-0](id:455900000000,api:1,p:17753,c:17753) dequeueBuffer: createGraphicBuffer failed [ +3 ms] W/OpenGLRenderer(17753): dequeueBuffer failed, error = -12; switching to fallback [ +41 ms] E/Surface (17753): getSlotFromBufferLocked: unknown buffer: 0x0 [+1484 ms] D/NdkImageReader(17753): acquireImageLocked: Overriding buffer format YUV_420_888 to 0x13. [+9021 ms] W/cr_MediaCodecBridge(17753): Releasing: OMX.android.goldfish.h264.decoder [ +16 ms] D/SurfaceUtils(17753): connecting to surface 0xe9362a38, reason connectToSurface [ +1 ms] I/MediaCodec(17753): [OMX.android.goldfish.h264.decoder] setting surface generation to 18179076 [ +1 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe9362a38, reason connectToSurface(reconnect) [ +1 ms] D/SurfaceUtils(17753): connecting to surface 0xe9362a38, reason connectToSurface(reconnect) [ +1 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe9362a38, reason setNativeWindowSizeFormatAndUsage [ +1 ms] D/SurfaceUtils(17753): connecting to surface 0xe9362a38, reason setNativeWindowSizeFormatAndUsage [ +7 ms] D/SurfaceUtils(17753): set up nativeWindow 0xe9362a38 for 1632x1080, color 0x13, rotation 0, usage 0x1002900 [ +2 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe93579e8, reason disconnectFromSurface [ +2 ms] W/cr_MediaCodecBridge(17753): Codec released [ +2 ms] W/cr_MediaCodecBridge(17753): Releasing: OMX.android.goldfish.h264.decoder [ +4 ms] D/SurfaceUtils(17753): connecting to surface 0xe9361108, reason connectToSurface [ +2 ms] I/MediaCodec(17753): [OMX.android.goldfish.h264.decoder] setting surface generation to 18179077 [ +2 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe9361108, reason connectToSurface(reconnect) [ +2 ms] D/SurfaceUtils(17753): connecting to surface 0xe9361108, reason connectToSurface(reconnect) [ +2 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe9361108, reason setNativeWindowSizeFormatAndUsage [ +2 ms] D/SurfaceUtils(17753): connecting to surface 0xe9361108, reason setNativeWindowSizeFormatAndUsage [ +5 ms] D/SurfaceUtils(17753): set up nativeWindow 0xe9361108 for 1632x1080, color 0x13, rotation 0, usage 0x1002900 [ +10 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe935c578, reason disconnectFromSurface [ +5 ms] W/cr_MediaCodecBridge(17753): Codec released [ +6 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe9362a38, reason disconnectFromSurface [ +2 ms] D/SurfaceUtils(17753): disconnecting from surface 0xe9361108, reason disconnectFromSurface [+18745 ms] E/chromium(17753): [ERROR:image_reader_gl_owner.cc(263)] no buffers currently available in the reader queue ``` ``` flutter analyze Running "flutter pub get" in bug... 2.646ms Analyzing bug... No issues found! (ran in 37.3s) ``` ``` flutter doctor -v [√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.22000.708], locale de-DE) • Flutter version 3.0.1 at C:\Users\User\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision fb57da5f94 (9 days ago), 2022-05-19 15:50:29 -0700 • Engine revision caaafc5604 • Dart version 2.17.1 • DevTools version 2.12.2 [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at C:\Users\User\AppData\Local\Android\Sdk • Platform android-32, build-tools 31.0.0 • ANDROID_SDK_ROOT = C:\Users\User\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.5) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.0.32112.339 • Windows 10 SDK version 10.0.19041.0 [√] Android Studio (version 2021.2) • Android Studio at C:\Program Files\Android\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 11.0.12+7-b1504.28-7817840) [√] VS Code (version 1.67.2) • VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.40.0 [√] Connected device (4 available) • sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.708] • Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.67 • Edge (web) • edge • web-javascript • Microsoft Edge 101.0.1210.53 [√] HTTP Host Availability • All required HTTP hosts are available • No issues found! ```