-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.f: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.found in release: 2.5Found to occur in 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6Found to occur in 2.6frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
The Issue
if a NestedScrollView has a pinned SliverAppBar in its headers, a pinned SliverAppBar in a CustomScrollView in its body and the CustomScrollView takes up enough space to be scrollable, the outer app bar covers the inner one on scroll. The issues persists even with the implementation of SliverOverlapAbsorber and SliverOverlapInjector. It's possible that I've misunderstood how the overlap slivers work, but I followed the example in the docs and I think the problem isn't in my implementation.
Code Sample
import 'package:flutter/material.dart';
void main() => runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
home: App(),
),
);
class App extends StatelessWidget {
const App();
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.yellow,
body: SafeArea(
child: NestedScrollView(
headerSliverBuilder: (ctx, _) => [
SliverOverlapAbsorber(
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(ctx),
sliver: SliverAppBar(
pinned: true,
toolbarHeight: 50,
collapsedHeight: 50,
expandedHeight: 150,
backgroundColor: Colors.blue,
),
),
],
body: Builder(builder: (ctx) {
return CustomScrollView(
slivers: [
SliverOverlapInjector(
handle: NestedScrollView.sliverOverlapAbsorberHandleFor(ctx),
),
SliverAppBar(
pinned: true,
toolbarHeight: 50,
collapsedHeight: 50,
expandedHeight: 50,
backgroundColor: Colors.pink,
),
SliverFixedExtentList(
delegate: SliverChildBuilderDelegate(
(_, i) => Icon(Icons.done),
childCount: 30,
),
itemExtent: 30,
),
],
);
}),
),
),
);
}
}Expected results:
Shouldn't the inner app bar stick to the bottom of the outer one?
Actual results:
bad.mp4
flutter analyze
Analyzing experiment...
No issues found! (ran in 1.3s)
flutter doctor -v
[√] Flutter (Channel stable, 2.5.2, on Microsoft Windows [Version 10.0.19043.1288], locale en-US)
• Flutter version 2.5.2 at C:\Dev\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 3595343e20 (2 weeks ago), 2021-09-30 12:58:18 -0700
• Engine revision 6ac856380f
• Dart version 2.14.3
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at D:\Programs\Android_SDK
• Platform android-30, build-tools 30.0.3
• Java binary at: D:\Programs\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] VS Code (version 1.61.1)
• VS Code at C:\Users\_\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.27.0
[√] Android Studio (version 4.1)
• Android Studio at D:\Programs\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)
flutter run --verbose
[ +54 ms] executing: [C:\Dev\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +388 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] 3595343e20a61ff16d14e8ecc25f364276bb1b8b
[ ] executing: [C:\Dev\flutter/] git tag --points-at 3595343e20a61ff16d14e8ecc25f364276bb1b8b
[ +62 ms] Exit code 0 from: git tag --points-at 3595343e20a61ff16d14e8ecc25f364276bb1b8b
[ ] 2.5.2
[ +7 ms] executing: [C:\Dev\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +29 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [C:\Dev\flutter/] git ls-remote --get-url origin
[ +26 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +87 ms] executing: [C:\Dev\flutter/] git rev-parse --abbrev-ref HEAD
[ +27 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +52 ms] 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 'WindowsUwpEngineArtifacts' 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.
[ +48 ms] executing: D:\Programs\Android_SDK\platform-tools\adb.exe devices -l
[ +32 ms] List of devices attached
emulator-5554 device product:sdk_gphone_x86_arm model:sdk_gphone_x86_arm device:generic_x86_arm transport_id:4
[ +4 ms] D:\Programs\Android_SDK\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +35 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +2 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.
[ ] 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.
[ +65 ms] Skipping pub get: version match.
[ +78 ms] Generating D:\Mega\Code\Home\Flutter\experiment\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +41 ms] ro.hardware = ranchu
[ +9 ms] Using hardware rendering with device sdk gphone x86 arm. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[ +20 ms] Initializing file store
[ +10 ms] Skipping target: gen_localizations
[ +5 ms] Skipping target: gen_dart_plugin_registrant
[ +1 ms] Skipping target: _composite
[ +2 ms] complete
[ +4 ms] Launching lib\main.dart on sdk gphone x86 arm in debug mode...
[ +4 ms] C:\Dev\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Dev\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Dev\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:\Temp\flutter_tools.a8d987f7\flutter_tool.49e72e73\app.dill --packages D:\Mega\Code\Home\Flutter\experiment\.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
[ +10 ms] executing: D:\Programs\Android_SDK\build-tools\30.0.3\aapt dump xmltree D:\Mega\Code\Home\Flutter\experiment\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +46 ms] Exit code 0 from: D:\Programs\Android_SDK\build-tools\30.0.3\aapt dump xmltree D:\Mega\Code\Home\Flutter\experiment\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.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.example.experiment" (Raw: "com.example.experiment")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=22)
A: android:label(0x01010001)="experiment" (Raw: "experiment")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.experiment.MainActivity" (Raw: "com.example.experiment.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=42)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=52)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=56)
E: action (line=57)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=59)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=66)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +15 ms] executing: D:\Programs\Android_SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +11 ms] <- compile package:experiment/main.dart
[ +28 ms] --------- beginning of main
10-17 19:40:00.005 D/KeyguardClockSwitch( 4628): Updating clock: 7î¸40
[ +8 ms] executing: D:\Programs\Android_SDK\platform-tools\adb.exe version
[ +16 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as D:\Programs\Android_SDK\platform-tools\adb.exe
[ +1 ms] executing: D:\Programs\Android_SDK\platform-tools\adb.exe start-server
[ +40 ms] Building APK
[ +12 ms] Running Gradle task 'assembleDebug'...
[ +3 ms] Using gradle from D:\Mega\Code\Home\Flutter\experiment\android\gradlew.bat.
[ +10 ms] executing: D:\Programs\Android Studio\jre\bin\java -version
[ +68 ms] Exit code 0 from: D:\Programs\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)
[ +1 ms] executing: [D:\Mega\Code\Home\Flutter\experiment\android/] D:\Mega\Code\Home\Flutter\experiment\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86
-Ptarget=D:\Mega\Code\Home\Flutter\experiment\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+2855 ms] > Task :app:compileFlutterBuildDebug
[ +1 ms] [ +54 ms] executing: [C:\Dev\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ +394 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] 3595343e20a61ff16d14e8ecc25f364276bb1b8b
[ ] [ ] executing: [C:\Dev\flutter/] git tag --points-at 3595343e20a61ff16d14e8ecc25f364276bb1b8b
[ ] [ +61 ms] Exit code 0 from: git tag --points-at 3595343e20a61ff16d14e8ecc25f364276bb1b8b
[ ] [ ] 2.5.2
[ ] [ +6 ms] executing: [C:\Dev\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +28 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/stable
[ ] [ ] executing: [C:\Dev\flutter/] git ls-remote --get-url origin
[ ] [ +26 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ +41 ms] executing: [C:\Dev\flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ +28 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] stable
[ ] [ +44 ms] 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.
[ +1 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +1 ms] [ +3 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.
[ ] [ ] 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.
[ ] [ +99 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ +4 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.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ ] 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.
[ ] [ ] 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.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ ] [ +29 ms] Initializing file store
[ ] [ +17 ms] Skipping target: gen_localizations
[ ] [ +10 ms] Skipping target: gen_dart_plugin_registrant
[ ] [ +1 ms] kernel_snapshot: Starting due to {}
[ ] [ +10 ms] C:\Dev\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Dev\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Dev\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --no-link-platform --packages D:\Mega\Code\Home\Flutter\experiment\.dart_tool\package_config.json --output-dill
D:\Mega\Code\Home\Flutter\experiment\.dart_tool\flutter_build\155871b5f88da2bb3f035dd176168e99\app.dill --depfile D:\Mega\Code\Home\Flutter\experiment\.dart_tool\flutter_build\155871b5f88da2bb3f035dd176168e99\kernel_snapshot.d
package:experiment/main.dart
[+5673 ms] [+6470 ms] kernel_snapshot: Complete
[ +489 ms] [ +408 ms] debug_android_application: Starting due to {}
[ +109 ms] [ +105 ms] debug_android_application: Complete
[ +396 ms] [ +432 ms] Persisting file store
[ +2 ms] [ +22 ms] Done persisting file store
[ +2 ms] [ +7 ms] build succeeded.
[ +2 ms] [ +10 ms] "flutter assemble" took 7,648ms.
[ +84 ms] [ +99 ms] ensureAnalyticsSent: 96ms
[ ] [ +1 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ +205 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ ] > Task :app:preBuild UP-TO-DATE
[ ] > Task :app:preDebugBuild UP-TO-DATE
[ ] > Task :app:compileDebugAidl NO-SOURCE
[ ] > Task :app:checkDebugManifest UP-TO-DATE
[ ] > Task :app:compileDebugRenderscript NO-SOURCE
[ ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :app:cleanMergeDebugAssets
[ ] > Task :app:mergeDebugShaders UP-TO-DATE
[ ] > Task :app:compileDebugShaders UP-TO-DATE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugAssets
[ +198 ms] > Task :app:copyFlutterAssetsDebug
[ ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[ ] > Task :app:generateDebugResValues UP-TO-DATE
[ ] > Task :app:generateDebugResources UP-TO-DATE
[ ] > Task :app:mergeDebugResources UP-TO-DATE
[ ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +90 ms] > Task :app:processDebugManifest UP-TO-DATE
[ ] > Task :app:processDebugResources UP-TO-DATE
[ ] > Task :app:compileDebugKotlin UP-TO-DATE
[ ] > Task :app:javaPreCompileDebug UP-TO-DATE
[ ] > 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
[ ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ ] > Task :app:desugarDebugFileDependencies 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
[ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] Compatible side by side NDK version was not found.
[ ] > Task :app:packageDebug UP-TO-DATE
[ +76 ms] > Task :app:assembleDebug
[ +1 ms] BUILD SUCCESSFUL in 10s
[ ] 31 actionable tasks: 5 executed, 26 up-to-date
[ +527 ms] Running Gradle task 'assembleDebug'... (completed in 10.8s)
[ +19 ms] calculateSha: LocalDirectory: 'D:\Mega\Code\Home\Flutter\experiment\build\app\outputs\flutter-apk'/app.apk
[ +391 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +3 ms] executing: D:\Programs\Android_SDK\build-tools\30.0.3\aapt dump xmltree D:\Mega\Code\Home\Flutter\experiment\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[ +21 ms] Exit code 0 from: D:\Programs\Android_SDK\build-tools\30.0.3\aapt dump xmltree D:\Mega\Code\Home\Flutter\experiment\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.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.example.experiment" (Raw: "com.example.experiment")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=22)
A: android:label(0x01010001)="experiment" (Raw: "experiment")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.experiment.MainActivity" (Raw: "com.example.experiment.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=42)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=52)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=56)
E: action (line=57)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=59)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=66)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +7 ms] Stopping app 'app.apk' on sdk gphone x86 arm.
[ ] executing: D:\Programs\Android_SDK\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.example.experiment
[ +38 ms] executing: D:\Programs\Android_SDK\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.example.experiment
[ +38 ms] package:com.example.experiment
[ +1 ms] executing: D:\Programs\Android_SDK\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.example.experiment.sha1
[ +25 ms] 7392090c207d859da489317f0ba9943ed730e5ca
[ +1 ms] Latest build already installed.
[ ] executing: D:\Programs\Android_SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +26 ms] --------- beginning of main
10-17 19:40:11.608 I/cmd ( 5595): oneway function results will be dropped but finished with status OK and parcel size 4
[ +4 ms] executing: D:\Programs\Android_SDK\platform-tools\adb.exe -s emulator-5554 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.example.experiment/com.example.experiment.MainActivity
[ +40 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.experiment/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[ +381 ms] W/FlutterActivityAndFragmentDelegate( 5617): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
[ +178 ms] Observatory URL on device: http://127.0.0.1:41709/NaTyOHTZHvc=/
[ +1 ms] executing: D:\Programs\Android_SDK\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:41709
[ +15 ms] 53201
[ ] Forwarded host port 53201 to device port 41709 for Observatory
[ +4 ms] Caching compiled dill
[ +19 ms] Connecting to service protocol: http://127.0.0.1:53201/NaTyOHTZHvc=/
[ +373 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:53201/NaTyOHTZHvc=/.
[ +151 ms] DDS is listening at http://127.0.0.1:53217/UqMbP1lBQOA=/.
[ +46 ms] Successfully connected to service protocol: http://127.0.0.1:53201/NaTyOHTZHvc=/
[ +58 ms] DevFS: Creating new filesystem on the device (null)
[ +28 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.experiment/code_cache/experimentZWWOQJ/experiment/)
[ +1 ms] Updating assets
[ +52 ms] Syncing files to device sdk gphone x86 arm...
[ +1 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +2 ms] <- recompile package:experiment/main.dart 22aef24d-796b-4449-9251-feda4c7203d3
[ ] <- 22aef24d-796b-4449-9251-feda4c7203d3
[ +55 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device sdk gphone x86 arm... (completed in 60ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[ +5 ms] Connected to _flutterView/0xea20e020.
[ +2 ms] Flutter run key commands.
[ +1 ms] r Hot reload.
[ ] R Hot restart.
[ ] h List all available interactive commands.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] Running with sound null safety
[ ] An Observatory debugger and profiler on sdk gphone x86 arm is available at: http://127.0.0.1:53217/UqMbP1lBQOA=/
[ +367 ms] DevTools activation throttled until 2021-10-18 05:40:13.251356.
[ +841 ms] D/skia ( 5617): Shader compilation error
[ ] D/skia ( 5617): ------------------------
[ ] D/skia ( 5617): Errors:
[ ] D/skia ( 5617):
[ +63 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 arm is available at: http://127.0.0.1:9103?uri=http://127.0.0.1:53217/UqMbP1lBQOA=/
brason, maxlapides, diegoveloper, br-programmer, stradaroca and 11 more
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.f: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.found in release: 2.5Found to occur in 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6Found to occur in 2.6frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team