-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.found in release: 2.2Found to occur in 2.2Found to occur in 2.2frameworkflutter/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 onteam-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
Steps to Reproduce
- Run
flutter create shader_mask_bug. - Update the
main.dartfile with the below code.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: MyHomePage(title: 'Flutter Shader mask sample'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key? key, required this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: [
// main list content
ListView(
children: List.generate(
100,
(index) => ListTile(title: Text('item$index')),
).toList(),
),
// bottom shader mask content placed above the list view
Align(
alignment: Alignment.bottomCenter,
child: Padding(
padding: const EdgeInsets.all(8.0),
child: ShaderMask(
shaderCallback: (Rect bounds) {
print('shader callback fired!');
return RadialGradient(
center: Alignment.topLeft,
radius: 1.0,
colors: <Color>[Colors.yellow, Colors.deepOrange.shade900],
tileMode: TileMode.mirror,
).createShader(bounds);
},
child: const Text('I’m burning the memories'),
),
),
),
],
),
);
}
}- Run the app and scroll the list view items (scroll up ,down and till end of the list).
Expected results:
- I wanted the shader mask to work and apply the burning text effect.
- I do not want the shader mask callback to be fired so many times when I scroll the list.
Actual results:
- Shader mask did not work for me and was not applying the burning text effect.
- The shader mask callback was being fired when scrolling the list view.
Logs
[ +84 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +92 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] d97f41caed971d4668ffe56699367ec3978db8f6
[ +1 ms] executing: [C:\src\flutter/] git tag --points-at d97f41caed971d4668ffe56699367ec3978db8f6
[ +200 ms] Exit code 0 from: git tag --points-at d97f41caed971d4668ffe56699367ec3978db8f6
[ +2 ms] 2.3.0-1.0.pre
[ +8 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[ +35 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +132 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[ +37 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] dev
[ +86 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.
[ +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.
[ +1 ms] 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.
[ +61 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +45 ms] List of devices attached
emulator-5554 device product:sdk_gphone_x86_arm model:sdk_gphone_x86_arm
device:generic_x86_arm transport_id:1
[ +11 ms] C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +43 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +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.
[ +85 ms] Skipping pub get: version match.
[ +118 ms] Generating
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\android\app\src\main\java\io\flutter\plugins\Generated
PluginRegistrant.java
[ +58 ms] ro.hardware = ranchu
[ +14 ms] Using hardware rendering with device sdk gphone x86 arm. If you notice graphics artifacts, consider
enabling
software rendering with "--enable-software-rendering".
[ +25 ms] Initializing file store
[ +12 ms] Skipping target: gen_localizations
[ +8 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following
inputs have updated contents:
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\.dart_tool\package_config_subset}
[ +29 ms] gen_dart_plugin_registrant: Complete
[ +2 ms] Skipping target: _composite
[ +2 ms] complete
[ +6 ms] Launching lib\main.dart on sdk gphone x86 arm in debug mode...
[ +5 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\src\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\Rohan\AppData\Local\Temp\flutter_tools.6a507ce\flutter_tool.6ab1e8e\app.dill --packages
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\.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\3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[ +10 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\build-tools\30.0.0-rc4\aapt dump xmltree
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[ +22 ms] Exit code 0 from: C:\Users\Rohan\AppData\Local\Android\sdk\build-tools\30.0.0-rc4\aapt dump xmltree
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[ +1 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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.shader_mask_sample" (Raw: "com.example.shader_mask_sample")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw:
"android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="shader_mask_sample" (Raw: "shader_mask_sample")
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.example.shader_mask_sample.MainActivity" (Raw:
"com.example.shader_mask_sample.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
[ +8 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell
-x logcat -v time -t 1
[ +11 ms] <- compile package:shader_mask_sample/main.dart
[ +72 ms] --------- beginning of main
05-15 20:47:47.649 I/PeriodicStatsRunner( 1266): PeriodicStatsRunner.call():184 No submit
PeriodicStats since input started.
[ +12 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +23 ms] Android Debug Bridge version 1.0.41
Version 31.0.2-7242960
Installed as C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +2 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +79 ms] Building APK
[ +18 ms] Running Gradle task 'assembleDebug'...
[ +5 ms] Using gradle from C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\android\gradlew.bat.
[ +14 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +146 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +1 ms] openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6842174, mixed mode)
[ +2 ms] executing: [C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\android/]
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\lib\main.dart
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +813 ms] Welcome to Gradle 6.7!
[ +1 ms] Here are the highlights of this release:
[ ] - File system watching is ready for production use
[ ] - Declare the version of Java your build requires
[ ] - Java 15 support
[ ] For more details see https://docs.gradle.org/6.7/release-notes.html
[+3076 ms] > Task :app:compileFlutterBuildDebug
[ +1 ms] [ +84 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] [ +75 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] d97f41caed971d4668ffe56699367ec3978db8f6
[ ] [ ] executing: [C:\src\flutter/] git tag --points-at
d97f41caed971d4668ffe56699367ec3978db8f6
[ +1 ms] [ +50 ms] Exit code 0 from: git tag --points-at d97f41caed971d4668ffe56699367ec3978db8f6
[ ] [ ] 2.3.0-1.0.pre
[ ] [ +7 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +41 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/dev
[ +1 ms] [ ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[ +1 ms] [ +32 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ +1 ms] [ +61 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[ +1 ms] [ +38 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] [ ] dev
[ ] [ +68 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] [ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] 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.
[ +1 ms] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +3 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +1 ms] [ +108 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ +1 ms] [ +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[ +1 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.
[ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +1 ms] [ ] 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.
[ ] [ +37 ms] Initializing file store
[ ] [ +23 ms] Skipping target: gen_localizations
[ ] [ +15 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The
following inputs have updated contents:
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\.dart_tool\package_config_subset}
[ +1 ms] [ +51 ms] gen_dart_plugin_registrant: Complete
[ +1 ms] [ +3 ms] kernel_snapshot: Starting due to {}
[ +1 ms] [ +13 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\src\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
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\.dart_tool\package_config.json --output-dill
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\.dart_tool\flutter_build\ded6cabf5763f0c23485e30ba40a4
f79\app.dill --depfile
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\.dart_tool\flutter_build\ded6cabf5763f0c23485e30ba40a4
f79\kernel_snapshot.d package:shader_mask_sample/main.dart
[+9335 ms] [+9870 ms] kernel_snapshot: Complete
[ +495 ms] [ +509 ms] debug_android_application: Starting due to {}
[ +190 ms] [ +169 ms] debug_android_application: Complete
[ +510 ms] [ +532 ms] Persisting file store
[ +94 ms] [ +13 ms] Done persisting file store
[ +1 ms] [ +7 ms] build succeeded.
[ +1 ms] [ +14 ms] "flutter assemble" took 11,395ms.
[ +199 ms] [ +258 ms] ensureAnalyticsSent: 253ms
[ +1 ms] [ +1 ms] Running shutdown hooks
[ +1 ms] [ ] Shutdown hooks complete
[ +1 ms] [ ] exiting with code 0
[ +299 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[ +1 ms] > Task :app:preBuild UP-TO-DATE
[ +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[ +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[ ] > Task :app:compileDebugRenderscript NO-SOURCE
[ ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[ ] > Task :app:cleanMergeDebugAssets
[ +84 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[ +1 ms] > Task :app:compileDebugShaders NO-SOURCE
[ ] > Task :app:generateDebugAssets UP-TO-DATE
[ ] > Task :app:mergeDebugAssets
[ +299 ms] > Task :app:copyFlutterAssetsDebug
[ +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[ +1 ms] > Task :app:generateDebugResources UP-TO-DATE
[ +1 ms] > Task :app:mergeDebugResources UP-TO-DATE
[ +1 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[ +1 ms] > Task :app:processDebugMainManifest UP-TO-DATE
[ +1 ms] > Task :app:processDebugManifest UP-TO-DATE
[ +1 ms] > Task :app:processDebugManifestForPackage UP-TO-DATE
[ +86 ms] > Task :app:processDebugResources UP-TO-DATE
[ +2 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[ +109 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[ +1 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] > Task :app:compileDebugSources UP-TO-DATE
[ ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[ ] > Task :app:compressDebugAssets UP-TO-DATE
[ ] > Task :app:processDebugJavaRes NO-SOURCE
[ ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ ] > Task :app:dexBuilderDebug UP-TO-DATE
[ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[ ] > Task :app:mergeExtDexDebug UP-TO-DATE
[ ] > Task :app:mergeDexDebug UP-TO-DATE
[ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :app:validateSigningDebug UP-TO-DATE
[ +83 ms] > Task :app:packageDebug UP-TO-DATE
[ +494 ms] > Task :app:assembleDebug
[ +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[ +1 ms] Use '--warning-mode all' to show the individual deprecation warnings.
[ +1 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ +1 ms] BUILD SUCCESSFUL in 16s
[ ] 32 actionable tasks: 5 executed, 27 up-to-date
[ +540 ms] Running Gradle task 'assembleDebug'... (completed in 17.0s)
[ +31 ms] calculateSha: LocalDirectory:
'C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\build\app\outputs\flutter-apk'/app.apk
[ +660 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[ +7 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\build-tools\30.0.0-rc4\aapt dump xmltree
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[ +21 ms] Exit code 0 from: C:\Users\Rohan\AppData\Local\Android\sdk\build-tools\30.0.0-rc4\aapt dump xmltree
C:\Users\Rohan\AndroidStudioProjects\shader_mask_sample\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[ +1 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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.shader_mask_sample" (Raw: "com.example.shader_mask_sample")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw:
"android.permission.INTERNET")
E: application (line=16)
A: android:label(0x01010001)="shader_mask_sample" (Raw: "shader_mask_sample")
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.example.shader_mask_sample.MainActivity" (Raw:
"com.example.shader_mask_sample.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
[ +4 ms] Stopping app 'app.apk' on sdk gphone x86 arm.
[ +2 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell
am force-stop com.example.shader_mask_sample
[ +48 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell
pm list packages com.example.shader_mask_sample
[ +43 ms] package:com.example.shader_mask_sample
[ +2 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell
cat /data/local/tmp/sky.com.example.shader_mask_sample.sha1
[ +77 ms] 2be079a6be8663bc8f1acc10b361b492e3136df7
[ +1 ms] Latest build already installed.
[ ] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell
-x logcat -v time -t 1
[ +44 ms] --------- beginning of main
05-15 20:48:10.618 D/CarrierSvcBindHelper( 908): No carrier app for: 0
[ +5 ms] executing: C:\Users\Rohan\AppData\Local\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.shader_mask_sample/com.example.shader_mask_sample.MainActivity
[ +68 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000
cmp=com.example.shader_mask_sample/.MainActivity (has extras) }
[ +1 ms] Waiting for observatory port to be available...
[ +715 ms] Observatory URL on device: http://127.0.0.1:35439/TAxzSZuDdYs=/
[ +3 ms] executing: C:\Users\Rohan\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward
tcp:0 tcp:35439
[ +26 ms] 58902
[ ] Forwarded host port 58902 to device port 35439 for Observatory
[ +7 ms] Caching compiled dill
[ +35 ms] Connecting to service protocol: http://127.0.0.1:58902/TAxzSZuDdYs=/
[ +403 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:58902/TAxzSZuDdYs=/.
[ +152 ms] DDS is listening at http://127.0.0.1:58907/TIq8siJSByY=/.
[ +92 ms] Successfully connected to service protocol: http://127.0.0.1:58902/TAxzSZuDdYs=/
[ +35 ms] DevFS: Creating new filesystem on the device (null)
[ +3 ms] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[ +29 ms] D/skia (12308): Shader compilation error
[ +1 ms] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[ +19 ms] D/skia (12308): Shader compilation error
[ +1 ms] D/skia (12308): ------------------------
[ +1 ms] D/skia (12308): Errors:
[ +1 ms] D/skia (12308):
[ +7 ms] DevFS: Created new filesystem on the device
(file:///data/user/0/com.example.shader_mask_sample/code_cache/shader_mask_sampleJIIGIK/shader_mask_sample/)
[ +3 ms] Updating assets
[ +116 ms] Syncing files to device sdk gphone x86 arm...
[ +4 ms] <- reset
[ +1 ms] Compiling dart to kernel with 0 updated files
[ +4 ms] <- recompile package:shader_mask_sample/main.dart 3ab14e81-b5c7-40f0-bbd2-a3307a49002f
[ +1 ms] <- 3ab14e81-b5c7-40f0-bbd2-a3307a49002f
[ +1 ms] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[ ] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[ +2 ms] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[ +1 ms] D/skia (12308): Shader compilation error
[ +1 ms] D/skia (12308): ------------------------
[ +2 ms] D/skia (12308): Errors:
[ +1 ms] D/skia (12308):
[ +2 ms] D/skia (12308): Shader compilation error
[ +2 ms] D/skia (12308): ------------------------
[ +1 ms] D/skia (12308): Errors:
[ ] D/skia (12308):
[ +1 ms] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[ +1 ms] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[ ] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ +1 ms] D/skia (12308): Errors:
[ +1 ms] D/skia (12308):
[ +25 ms] D/skia (12308): Shader compilation error
[ +1 ms] D/skia (12308): ------------------------
[ +1 ms] D/skia (12308): Errors:
[ +1 ms] D/skia (12308):
[ +4 ms] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ +1 ms] D/skia (12308):
[ +56 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device sdk gphone x86 arm... (completed in 144ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[ +16 ms] Connected to _flutterView/0xee585c20.
[ +3 ms] Flutter run key commands.
[ +4 ms] r Hot reload.
[ +1 ms] R Hot restart.
[ +1 ms] h List all available interactive commands.
[ +1 ms] d Detach (terminate "flutter run" but leave application running).
[ +1 ms] c Clear the screen
[ +1 ms] q Quit (terminate the application on the device).
[ ] Running with sound null safety
[ +1 ms] An Observatory debugger and profiler on sdk gphone x86 arm is available at:
http://127.0.0.1:58907/TIq8siJSByY=/
[ +566 ms] DevTools activation throttled until 2021-05-15 22:56:12.274893.
[ +489 ms] I/flutter (12308): shader callback fired!
[ +69 ms] D/skia (12308): Shader compilation error
[ +1 ms] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[ +18 ms] D/skia (12308): Shader compilation error
[ +1 ms] D/skia (12308): ------------------------
[ +1 ms] D/skia (12308): Errors:
[ ] D/skia (12308):
[ +11 ms] D/skia (12308): Shader compilation error
[ +1 ms] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ +1 ms] D/skia (12308):
[ +26 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 arm is available at:
http://127.0.0.1:9104?uri=http%3A%2F%2F127.0.0.1%3A58907%2FTIq8siJSByY%3D%2F
[ +1 ms] D/skia (12308): Shader compilation error
[ ] D/skia (12308): ------------------------
[ ] D/skia (12308): Errors:
[ ] D/skia (12308):
[+9314 ms] I/flutter (12308): shader callback fired!
[+23777 ms] I/chatty (12308): uid=10178(com.example.shader_mask_sample) 1.ui identical 338 lines
[ +1 ms] I/flutter (12308): shader callback fired!
[ +288 ms] I/flutter (12308): shader callback fired!
[+12717 ms] I/chatty (12308): uid=10178(com.example.shader_mask_sample) 1.ui identical 17 lines
[ +1 ms] I/flutter (12308): shader callback fired!
Analyzing shader_mask_sample...
No issues found! (ran in 2.8s)
[√] Flutter (Channel dev, 2.3.0-1.0.pre, on Microsoft Windows [Version 10.0.19042.985], locale en-IN)
• Flutter version 2.3.0-1.0.pre at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d97f41caed (2 weeks ago), 2021-04-30 12:35:21 -0700
• Engine revision e7939e091e
• Dart version 2.14.0 (build 2.14.0-48.0.dev)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc4)
• Android SDK at C:\Users\Rohan\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.0-rc4
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (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 11.0.8+10-b944.6842174)
[√] IntelliJ IDEA Community Edition (version 2020.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.1.2
• Flutter plugin version 48.1.4
• Dart plugin version 202.6397.47
[√] VS Code (version 1.56.2)
• VS Code at C:\Users\Rohan\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.22.0
[√] Connected device (3 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212
• Edge (web) • edge • web-javascript • Microsoft Edge 90.0.818.62
! Doctor found issues in 1 category.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.found in release: 2.2Found to occur in 2.2Found to occur in 2.2frameworkflutter/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 onteam-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team