Closed
Description
Hello,
I have a problem with an Android openGL embedded view in a Flutter Hybrid Composition plugin.
When the openGL widget is visible, navigate on a second page widget with Navigator.push()
, put the application in background and back on it, the openGL view is display over the second page widget.
Steps to Reproduce
To reproduce the problem clone and launch this sample project:
https://github.com/apally-orange/flutter_bug_opengl_native
Navigate on the second page, click on button Overview (to put the application in background) and back to application to see the openGL view on overlay of second page.
The problem is maybe related with #64480
Logs
$ flutter run -v
[ +159 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +96 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] 12bea61c2902784fec73b7f5f2ff3415f873fead
[ ] executing: [C:\flutter/] git tag --points-at HEAD
[ +79 ms] Exit code 0 from: git tag --points-at HEAD
[ ] 1.24.0-1.0.pre
[ +12 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +53 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] executing: [C:\flutter/] git ls-remote --get-url origin
[ +51 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +101 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[ +58 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] dev
[ +190 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] 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.
[ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +85 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +98 ms] List of devices attached
R58M93DGX4J device product:a50eea model:SM_A505FN device:a50 transport_id:1
[ +11 ms] C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J shell getprop
[ +137 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +256 ms] Found plugin flutter_bug_opengl_native at C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\
[ +176 ms] Found plugin flutter_bug_opengl_native at C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\
[ +25 ms] Generating C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +38 ms] ro.hardware = exynos9610
[ ] ro.build.characteristics = phone
[ +52 ms] Starting incremental build...
[ +5 ms] Initializing file store
[ +18 ms] Skipping target: gen_localizations
[ +10 ms] complete
[ +11 ms] Launching lib\main.dart on SM A505FN in debug mode...
[ +12 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill C:\Users\XCNT2590\AppData\Local\Temp\flutter_tools.34e55236\flutter_tool.c1d6cdfc\app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\01094840f26094a3fe371d8be6b9cb48.cache.dill.track.dill --flutter-widget-cache
[ +18 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +51 ms] Exit code 0 from: C:\Users\XCNT2590\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ ] 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" (Raw: "1.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1d
A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
A: package="com.test.flutter_bug_opengl_native_example" (Raw: "com.test.flutter_bug_opengl_native_example")
A: platformBuildVersionCode=(type 0x10)0x1d
A: platformBuildVersionName=(type 0x10)0xa
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="flutter_bug_opengl_native_example" (Raw: "flutter_bug_opengl_native_example")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.test.flutter_bug_opengl_native_example.MainActivity" (Raw: "com.test.flutter_bug_opengl_native_example.MainActivity")
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=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=45)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=49)
E: action (line=50)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=52)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=59)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +10 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J shell -x logcat -v time -t 1
[ +22 ms] <- compile package:flutter_bug_opengl_native_example/main.dart
[ +205 ms] --------- beginning of main
10-22 08:59:22.708 D/CarrierInformationNetworkHelper(11655): isSIMandOperatorMatched SIM is matched for Orange - plmnNumeric = 20801
[ +35 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +80 ms] Android Debug Bridge version 1.0.41
Version 30.0.4-6686687
Installed as C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +4 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +79 ms] Building APK
[ +26 ms] Running Gradle task 'assembleDebug'...
[ +3 ms] gradle.properties already sets `android.enableR8`
[ +6 ms] Using gradle from C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\android\gradlew.bat.
[ +1 ms] C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\android\gradlew.bat mode: 33279 rwxrwxrwx.
[ +17 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +278 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[ +3 ms] executing: [C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\android/] C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+8726 ms] > Task :flutter_bug_opengl_native:preBuild UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:preDebugBuild UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:packageDebugRenderscript NO-SOURCE
[ ] > Task :flutter_bug_opengl_native:mergeDebugShaders UP-TO-DATE
[ +80 ms] > Task :flutter_bug_opengl_native:compileDebugAidl NO-SOURCE
[ +1 ms] > Task :flutter_bug_opengl_native:compileDebugShaders UP-TO-DATE
[ +2 ms] > Task :flutter_bug_opengl_native:generateDebugAssets UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:packageDebugAssets UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:compileDebugRenderscript NO-SOURCE
[ ] > Task :flutter_bug_opengl_native:generateDebugResValues UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:generateDebugResources UP-TO-DATE
[ +117 ms] > Task :flutter_bug_opengl_native:packageDebugResources UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:checkDebugManifest UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:processDebugManifest UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:parseDebugLibraryResources UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:generateDebugRFile UP-TO-DATE
[ +123 ms] > Task :flutter_bug_opengl_native:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[ ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ ] > Task :app:preBuild UP-TO-DATE
[ ] > Task :app:preDebugBuild UP-TO-DATE
[ ] > Task :app:compileDebugAidl NO-SOURCE
[ +84 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[ ] > Task :app:checkDebugManifest UP-TO-DATE
[ ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ +87 ms] > Task :app:cleanMergeDebugAssets
[ +138 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[ ] > Task :app:compileDebugShaders UP-TO-DATE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:compileDebugKotlin UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:javaPreCompileDebug UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:bundleLibCompileDebug UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:processDebugJavaRes NO-SOURCE
[ +3 ms] > Task :flutter_bug_opengl_native:bundleLibResDebug UP-TO-DATE
[ +4 ms] > Task :app:mergeDebugAssets
[ ] > Task :flutter_bug_opengl_native:bundleLibRuntimeDebug UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:createFullJarDebug UP-TO-DATE
[ +143 ms] > Task :flutter_bug_opengl_native:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:mergeDebugNativeLibs UP-TO-DATE
[ +1 ms] > Task :flutter_bug_opengl_native:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[ +100 ms] > Task :flutter_bug_opengl_native:extractDebugAnnotations UP-TO-DATE
[ +2 ms] > Task :flutter_bug_opengl_native:mergeDebugGeneratedProguardFiles UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:mergeDebugConsumerProguardFiles UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:prepareLintJarForPublish UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:bundleDebugAar UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:compileDebugSources UP-TO-DATE
[ ] > Task :flutter_bug_opengl_native:assembleDebug UP-TO-DATE
[ +390 ms] > Task :app:copyFlutterAssetsDebug
[ +103 ms] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[ ] > Task :app:generateDebugResValues UP-TO-DATE
[ ] > Task :app:generateDebugResources UP-TO-DATE
[ +93 ms] > Task :app:mergeDebugResources UP-TO-DATE
[ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] > Task :app:processDebugManifest UP-TO-DATE
[ ] > Task :app:processDebugResources UP-TO-DATE
[ ] > Task :app:compileDebugKotlin UP-TO-DATE
[ +103 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[ +2 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :app:compileDebugSources UP-TO-DATE
[ ] > Task :app:processDebugJavaRes NO-SOURCE
[ ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ +90 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ ] > Task :app:mergeExtDexDebug UP-TO-DATE
[ ] > Task :app:mergeDexDebug UP-TO-DATE
[ ] > Task :app:validateSigningDebug UP-TO-DATE
[ ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[ +103 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ +92 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :app:packageDebug UP-TO-DATE
[ +511 ms] > Task :app:assembleDebug
[ +2 ms] BUILD SUCCESSFUL in 10s
[ +5 ms] 60 actionable tasks: 4 executed, 56 up-to-date
[ +655 ms] Running Gradle task 'assembleDebug'... (completed in 12,1s)
[ +60 ms] calculateSha: LocalDirectory: 'C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\build\app\outputs\flutter-apk'/app.apk
[ +72 ms] calculateSha: reading file took 71us
[+1138 ms] calculateSha: computing sha took 1138us
[ +10 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +7 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +67 ms] Exit code 0 from: C:\Users\XCNT2590\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ ] 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" (Raw: "1.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1d
A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
A: package="com.test.flutter_bug_opengl_native_example" (Raw: "com.test.flutter_bug_opengl_native_example")
A: platformBuildVersionCode=(type 0x10)0x1d
A: platformBuildVersionName=(type 0x10)0xa
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="flutter_bug_opengl_native_example" (Raw: "flutter_bug_opengl_native_example")
A: android:icon(0x01010002)=@0x7f080000
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=21)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.test.flutter_bug_opengl_native_example.MainActivity" (Raw: "com.test.flutter_bug_opengl_native_example.MainActivity")
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=35)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=45)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=49)
E: action (line=50)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=52)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=59)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +3 ms] Stopping app 'app.apk' on SM A505FN.
[ +1 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J shell am force-stop com.test.flutter_bug_opengl_native_example
[ +196 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J shell pm list packages com.test.flutter_bug_opengl_native_example
[ +298 ms] Installing APK.
[ +3 ms] Installing build\app\outputs\flutter-apk\app.apk...
[ ] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J install -t -r C:\Users\XCNT2590\Git\test\flutter_bug_native_opengl\flutter_bug_opengl_native\example\build\app\outputs\flutter-apk\app.apk
[+17721 ms] Performing Streamed Install
Success
[ ] Installing build\app\outputs\flutter-apk\app.apk... (completed in 17,7s)
[ +1 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J shell echo -n d912530bc1117310fd3ed860f3fc364c5562e56c > /data/local/tmp/sky.com.test.flutter_bug_opengl_native_example.sha1
[ +60 ms] SM A505FN startApp
[ +2 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.test.flutter_bug_opengl_native_example/com.test.flutter_bug_opengl_native_example.MainActivity
[ +236 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.test.flutter_bug_opengl_native_example/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[+1777 ms] Observatory URL on device: http://127.0.0.1:35331/yP2pcMKy14U=/
[ +3 ms] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J forward tcp:0 tcp:35331
[ +47 ms] 57082
[ ] Forwarded host port 57082 to device port 35331 for Observatory
[ +4 ms] Caching compiled dill
[ +21 ms] Connecting to service protocol: http://127.0.0.1:57082/yP2pcMKy14U=/
[ +2 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:57082/yP2pcMKy14U=/.
[ +677 ms] DDS is listening at http://127.0.0.1:57084/t0S4E80S_HM=/.
[ +80 ms] Successfully connected to service protocol: http://127.0.0.1:57082/yP2pcMKy14U=/
[ ] executing: C:\Users\XCNT2590\AppData\Local\Android\sdk\platform-tools\adb.exe -s R58M93DGX4J shell -x logcat -v time -t 1
[ +146 ms] --------- beginning of main
10-22 08:59:58.425 I/oid.bixby.agen(15136): The ClassLoaderContext is a special shared library.
[ +16 ms] Waiting for SM A505FN to report its views...
[ +13 ms] Waiting for SM A505FN to report its views... (completed in 12ms)
[ +15 ms] DevFS: Creating new filesystem on the device (null)
[ +53 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.test.flutter_bug_opengl_native_example/code_cache/exampleONQDBU/example/)
[ +1 ms] Updating assets
[ +135 ms] Syncing files to device SM A505FN...
[ +1 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +2 ms] <- recompile package:flutter_bug_opengl_native_example/main.dart c840676e-9537-416a-a398-7b827862673c
[ ] <- c840676e-9537-416a-a398-7b827862673c
[ +77 ms] Updating files.
[ ] DevFS: Sync finished
[ ] Syncing files to device SM A505FN... (completed in 82ms)
[ ] Synced 0.0MB.
[ ] <- accept
[ +14 ms] Connected to _flutterView/0x75af823020.
[ +1 ms] Flutter run key commands.
[ +1 ms] r Hot reload.
[ ] R Hot restart.
[ ] h Repeat this help message.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] An Observatory debugger and profiler on SM A505FN is available at: http://127.0.0.1:57084/t0S4E80S_HM=/
$ flutter doctor -v
[√] Flutter (Channel dev, 1.24.0-1.0.pre, on Microsoft Windows [version 10.0.17763.1457], locale fr-FR)
• Flutter version 1.24.0-1.0.pre at C:\flutter
• Framework revision 12bea61c29 (7 days ago), 2020-10-14 15:57:04 -0700
• Engine revision 069b3cf8f0
• Dart version 2.11.0 (build 2.11.0-218.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\XCNT2590\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• 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 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.50.1)
• VS Code at C:\Users\XCNT2590\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.15.1
[√] Connected device (3 available)
• SM A505FN (mobile) • R58M93DGX4J • android-arm64 • Android 10 (API 29)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web) • chrome • web-javascript • Google Chrome 86.0.4240.75
• No issues found!
Metadata
Metadata
Assignees
Labels
Important issues not at the top of the work listIntegration with existing apps via the add-to-app flowEmbedding Android/iOS views in Flutter appsNavigator, Router, and related APIs.Found to occur in 1.22flutter/packages/flutter repository. See also f: labels.The issue has been confirmed reproducible and is ready to work onAndroid applications specificallyIssue is closed as already fixed in a newer version