Open afgriffiths opened 3 years ago
Hi @afgriffiths It doesn't reproduce on Oneplus 8 running Android 11 or emulator with API 30, this could be Galaxy S20 or Samsung specific. Can you please try again with another Samsung device you've? And make sure DND is not enabled S20 as well.
Thank you
Hi @TahaTesser,
Sadly I have no other Samsung devices to try. I have successfully reproduced the issue again today.
My app is running in debug mode via adb from Android Studio if that helps?
Otherwise, I'm afraid I can't help any further unless you can find someone else to try to reproduce it on a Samsung device.
Hi @afgriffiths
I just brought Samsung Galaxy M30
, neither mediumImpact
nor heavyImpact
works for me on the stable
and the master
.
Thank you
The docs for HapticFeedback.heavyImpact
say
This call has no effects on Android API levels below 23.
I am not sure if that is the right behavior. IMO, if heavy is not supported, we should probably just use a lower impact level.
The device you listed should be higher than Android API 23 though. So I am not why this check (presumably) is failing on it.
I've tried it on a Google Pixel 1 Android 10 and it works.
The same app on Google Pixel 3a Android 11 does not work.
It works fine on iOS.
> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.6, on macOS 11.2.3 20D91 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.55.2)
[✓] Connected device (2 available)
• No issues found!
I've tested HapticFeedback with flutter 2.0.6 stable channel on physical devices. It works fine on iPhone11 (iOS 14.5.1) and Pixel3a (Android 11) but not on Samsung Galaxy A40 (Android 11).
None of the following work on a Galaxy Tab A (8.0" 2019) Android 10 They do work on a iOS, Galaxy 10 and Huawei P30 pro. (depending on which are actually supported)
await HapticFeedback.vibrate();
await HapticFeedback.heavyImpact();
await HapticFeedback.mediumImpact();
await HapticFeedback.lightImpact();
await HapticFeedback.selectionClick();
I have an S10e with Android 11.
There is an option in the settings to enable vibration for Touch interactions (Settings -> Sounds and vibration -> Sound system/vibration control). This was off by default for me and none of the haptic feedback options worked until I toggled the setting. There is also a setting for the Vibration intensity specifically for the Touch interactions.
The same goes for the buttons that have the 'enableFeedback' argument: You need to enable Touch interactions under the Sound section and turn up the system volume (only available if the main volume is not one mute).
Maybe the same applies to all recent Samsung devices?
I have an S10e with Android 11.
There is an option in the settings to enable vibration for Touch interactions (Settings -> Sounds and vibration -> Sound system/vibration control). This was off by default for me and none of the haptic feedback options worked until I toggled the setting. There is also a setting for the Vibration intensity specifically for the Touch interactions.
The same goes for the buttons that have the 'enableFeedback' argument: You need to enable Touch interactions under the Sound section and turn up the system volume (only available if the main volume is not one mute).
Maybe the same applies to all recent Samsung devices?
I can confirm it, using a Galaxy S8 on android 9 HapticFeedback.vibrate()
, HapticFeedback.lightImpact()
and HapticFeedback.mediumImpact()
all work when those settings are enable.
I facing same issue with Oneplus 6T device. It tried all the above solutions, but it is not working.
Hi, my friend's I have S20FE, with Android version 12. for my case solution : Go to setting->Sound and vibration->Vibration intensity-> Touch interaction (must be enabled) Please check That option on your device.
Hi, my friend's I have S20FE, with Android version 12. for my case solution : Go to setting->Sound and vibration->Vibration intensity-> Touch interaction (must be enabled) Please check That option on your device.
This didnt work on an A33 5G (SM-A336B/DSN) with Android 12. With:
<uses-permission android:name="android.permission.VIBRATE" />
mediumImpact
and selectionClick
Until this becomes reliable, we have worked around this by using https://pub.dev/packages/vibration with low values.
Example: Vibration.vibrate(duration: 30, amplitude: 30);
Downside is that it doesn't respect the samsung setting, it always works.
I reverified this issue using latest stable version and running the code sample on Samsung S10 device and also by changing the touch interaction
setting under Vibration intensity
of the device to the fullest but still tapping on the button didn't give any haptic feedback.
I tried with all HapticFeedback
variations but none could give the haptic feedback or touch vibrations.
Keeping the issue open and updating the labels.
This is still a problem in 2024. Haptic works in Ionic Capacitor and Maui. For some reason I cannot get it to work with Flutter. Same device (Samsung Galaxy S23 Ultra) being used for all 3 applications.
What is the problem here?
+1 I have a Oppo Reno 2f (Android 11 Physical) It didn't work but vibration package works
Steps to Reproduce
flutter create bug
.<uses-permission android:name="android.permission.VIBRATE" />
toandroid/app/src/mainAndroidManifest.xml
import 'package:flutter/services.dart';
to the top oflib/main.dart
HapticFeedback.heavyImpact();
to the top of_MyHomePageState._incrementCounter()
inlib/main.dart
flutter run
. Press the plus button in the bottom right.Expected results: The phone should vibrate when the plus button is pressed.
Actual results: The phone did not vibrate when the plus button was pressed.
Notes: Observe that if you change the line to
HapticFeedback.mediumImpact();
, it works just fine, ruling out vibrations being disabled in the OS settings. The specific device I used was a Samsung Galaxy S20 Ultra if you are unable to reproduce it on other Android 11 devices.Logs
``` [ +93 ms] executing: [/home/adam/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +26 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 78910062997c3a836feee883712c241a5fd22983 [ ] executing: [/home/adam/snap/flutter/common/flutter/] git tag --points-at HEAD [ +11 ms] Exit code 0 from: git tag --points-at HEAD [ ] 1.22.5 [ +6 ms] executing: [/home/adam/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/home/adam/snap/flutter/common/flutter/] git ls-remote --get-url origin [ +3 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +39 ms] executing: [/home/adam/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +39 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. [ +1 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. [ +10 ms] executing: /home/adam/Android/Sdk/platform-tools/adb devices -l [ +27 ms] List of devices attached 192.168.0.230:41297 device product:z3sxeea model:SM_G988B device:z3s transport_id:1 [ +11 ms] /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell getprop [ +170 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +25 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 '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. [ +166 ms] Generating /home/adam/workplace/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +16 ms] ro.hardware = exynos990 [ ] ro.build.characteristics = phone [ +36 ms] Starting incremental build... [ +1 ms] Initializing file store [ +18 ms] Skipping target: gen_localizations [ +8 ms] complete [ +3 ms] Launching lib/main.dart on SM G988B in debug mode... [ +4 ms] /home/adam/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/adam/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/adam/snap/flutter/common/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 /tmp/flutter_tools.ONCEMO/flutter_tool.RHGUNG/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill [ +11 ms] executing: /home/adam/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/adam/workplace/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +33 ms] Exit code 0 from: /home/adam/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/adam/workplace/bug/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)0x1d A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10") A: package="com.example.bug" (Raw: "com.example.bug") 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=22) A: android:label(0x01010001)="bug" (Raw: "bug") 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.bug.MainActivity" (Raw: "com.example.bug.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 [ +5 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell -x logcat -v time -t 1 [ +445 ms] Exit code 0 from: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell -x logcat -v time -t 1 [ ] --------- beginning of main 01-14 22:58:01.275 I/[+0]oneconnect[1.7.57.23_01][CORE]( 6223): BleParserForVD.parseTvPacket - [Name]($)-[(26)[DeviceType]TV[Discover]_BLE[Services]None[Connected]false[TvStatus]-128[TvService]102[TvMirrorChannel]1[TvRegisteredDB][59, 0, 0, 0, 0, 0][TvYear]2016[TvOcfInfo]0[TvAcmStatus]0[ExTvStatus]0 [ +4 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell -x logcat -v time -t 1 [ +432 ms] Exit code 0 from: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell -x logcat -v time -t 1 [ ] --------- beginning of system 01-14 22:58:01.777 I/SamsungAlarmManager( 1128): setLocked to kernel - T:3 / 20210114T225817, set=1587650376, now=1587634230 [ +13 ms] <- compile package:bug/main.dart [ +10 ms] executing: /home/adam/Android/Sdk/platform-tools/adb version [ +15 ms] Android Debug Bridge version 1.0.41 Version 30.0.5-6877874 Installed as /home/adam/Android/Sdk/platform-tools/adb [ +1 ms] executing: /home/adam/Android/Sdk/platform-tools/adb start-server [ +5 ms] Building APK [ +13 ms] Running Gradle task 'assembleDebug'... [ +1 ms] gradle.properties already sets `android.enableR8` [ +1 ms] Using gradle from /home/adam/workplace/bug/android/gradlew. [ ] /home/adam/workplace/bug/android/gradlew mode: 33277 rwxrwxr-x. [ +3 ms] executing: [/home/adam/workplace/bug/android/] /home/adam/workplace/bug/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=/home/adam/workplace/bug/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug [+1787 ms] Welcome to Gradle 5.6.2! [ ] Here are the highlights of this release: [ ] - Incremental Groovy compilation [ ] - Groovy compile avoidance [ ] - Test fixtures for Java projects [ ] - Manage plugin versions via settings script [ ] For more details see https://docs.gradle.org/5.6.2/release-notes.html [+3761 ms] > Task :app:compileFlutterBuildDebug [ ] [ +105 ms] executing: [/home/adam/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +27 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] 78910062997c3a836feee883712c241a5fd22983 [ ] [ ] executing: [/home/adam/snap/flutter/common/flutter/] git tag --points-at HEAD [ ] [ +9 ms] Exit code 0 from: git tag --points-at HEAD [ ] [ ] 1.22.5 [ ] [ +7 ms] executing: [/home/adam/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [/home/adam/snap/flutter/common/flutter/] git ls-remote --get-url origin [ ] [ +4 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +30 ms] executing: [/home/adam/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +29 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. [ ] [ +2 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. [ ] [ +9 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] 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. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] 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. [ ] [ ] 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. [ ] [ +84 ms] Initializing file store [ ] [ +12 ms] Skipping target: gen_localizations [ ] [ +5 ms] kernel_snapshot: Starting due to {} [ ] [ +22 ms] /home/adam/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/adam/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/adam/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages /home/adam/workplace/bug/.packages --output-dill /home/adam/workplace/bug/.dart_tool/flutter_build/0c9b150b683926d00c425440c8db9c61/app.dill --depfile /home/adam/workplace/bug/.dart_tool/flutter_build/0c9b150b683926d00c425440c8db9c61/kernel_snapshot.d package:bug/main.dart ^C% ❯ ❯ flutter run --verbose > verbose_run.log ❯ flutter run Launching lib/main.dart on SM G988B in debug mode... Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... Done 12.4s ✓ Built build/app/outputs/flutter-apk/app-debug.apk. Installing build/app/outputs/flutter-apk/app.apk... 66.9s Waiting for SM G988B to report its views... 15ms I/mali_egl(19216): eglDestroySurface() in I/mali_egl(19216): eglDestroySurface() out I/SurfaceView(19216): onWindowVisibilityChanged(8) false io.flutter.embedding.android.FlutterSurfaceView{1f53191 V.E...... ........ 0,0-1080,2361} of ViewRootImpl@1bfd2cc[MainActivity] I/SurfaceView(19216): surfaceDestroyed callback.size 1 #2 io.flutter.embedding.android.FlutterSurfaceView{1f53191 V.E...... ........ 0,0-1080,2361} I/DecorView(19216): [INFO] isPopOver=false, config=true I/DecorView(19216): updateCaptionType >> DecorView@8ee8ca0[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true D/DecorView(19216): setCaptionType = 0, this = DecorView@8ee8ca0[] I/SurfaceView(19216): onWindowVisibilityChanged(0) true io.flutter.embedding.android.FlutterSurfaceView{bf3b994 V.E...... ......I. 0,0-0,0} of ViewRootImpl@1bfd2cc[MainActivity] I/ViewRootImpl@1bfd2cc[MainActivity](19216): stopped(false) old=false D/SurfaceControl(19216): release : Surface(name=com.example.bug/com.example.bug.MainActivity$_19216)/@0x5c94c3d I/SurfaceControl(19216): nativeRelease nativeObject s[503832383392] I/SurfaceControl(19216): nativeRelease nativeObject e[503832383392] I/ViewRootImpl@1bfd2cc[MainActivity](19216): Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=3 res=0x1 s={true 508664211664} ch=false fn=2 I/SurfaceView(19216): surfaceCreated 1 #8 io.flutter.embedding.android.FlutterSurfaceView{bf3b994 V.E...... ......ID 0,0-1080,2361} I/mali_winsys(19216): new_window_surface() [1080x2361] return: 0x3000 I/SurfaceView(19216): surfaceChanged (1080,2361) 1 #8 io.flutter.embedding.android.FlutterSurfaceView{bf3b994 V.E...... ......ID 0,0-1080,2361} I/ViewRootImpl@1bfd2cc[MainActivity](19216): [DP] dp(1) 1 android.view.SurfaceView.updateSurface:1298 android.view.SurfaceView$1.onPreDraw:218 android.view.ViewTreeObserver.dispatchOnPreDraw:1124 I/ViewRootImpl@1bfd2cc[MainActivity](19216): [DP] pdf(0) 1 android.view.SurfaceView.notifyDrawFinished:567 android.view.SurfaceView.performDrawFinished:554 android.view.SurfaceView.lambda$TWz4D2u33ZlAmRtgKzbqqDue3iM:0 I/ViewRootImpl@1bfd2cc[MainActivity](19216): [DP] rdf() D/SurfaceControl(19216): hide : Surface(name=SurfaceView - com.example.bug/com.example.bug.MainActivity@1f53191@0)/@0x73efedf D/SurfaceControl(19216): nativeSetFlags Done : Surface(name=SurfaceView - com.example.bug/com.example.bug.MainActivity@1f53191@0)/@0x73efedf I/SurfaceView(19216): remove() from RT android.view.SurfaceView$2@6f4a72c Surface(name=SurfaceView - com.example.bug/com.example.bug.MainActivity@1f53191@0)/@0x73efedf D/SurfaceControl(19216): release : Surface(name=SurfaceView - com.example.bug/com.example.bug.MainActivity@1f53191@0)/@0x73efedf I/SurfaceControl(19216): nativeRelease nativeObject s[503832371408] I/SurfaceControl(19216): nativeRelease nativeObject e[503832371408] D/SurfaceControl(19216): release : Surface(name=Background for -SurfaceView - com.example.bug/com.example.bug.MainActivity@1f53191@0)/@0x922c5f5 I/SurfaceControl(19216): nativeRelease nativeObject s[503832370288] I/SurfaceControl(19216): nativeRelease nativeObject e[503832370288] D/SurfaceControl(19216): release : Surface(name=Surface(name=7862b74 NavigationBar0)/@0xb86cde - animation-leash)/@0xc9d1f8a I/SurfaceControl(19216): nativeRelease nativeObject s[503832373088] I/SurfaceControl(19216): nativeRelease nativeObject e[503832373088] D/SurfaceControl(19216): release : Surface(name=Surface(name=45f6483 StatusBar)/@0xf2cff63 - animation-leash)/@0xd3ea9fb I/SurfaceControl(19216): nativeRelease nativeObject s[503832383392] I/SurfaceControl(19216): nativeRelease nativeObject e[503832383392] I/ViewRootImpl@1bfd2cc[MainActivity](19216): MSG_WINDOW_FOCUS_CHANGED 1 1 D/InputMethodManager(19216): prepareNavigationBarInfo() DecorView@8ee8ca0[] D/InputMethodManager(19216): getNavigationBarColor() -855310 D/InputMethodManager(19216): prepareNavigationBarInfo() DecorView@8ee8ca0[] D/InputMethodManager(19216): getNavigationBarColor() -855310 V/InputMethodManager(19216): Starting input: tba=com.example.bug ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(19216): startInputInner - Id : 0 I/InputMethodManager(19216): startInputInner - mService.startInputOrWindowGainedFocus D/InputTransport(19216): Input channel constructed: 'ClientS', fd=118 D/InputMethodManager(19216): prepareNavigationBarInfo() DecorView@8ee8ca0[] D/InputMethodManager(19216): getNavigationBarColor() -855310 V/InputMethodManager(19216): Starting input: tba=com.example.bug ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false D/InputMethodManager(19216): startInputInner - Id : 0 D/SurfaceControl(19216): hide : Surface(name=Surface(name=fe25492 InputMethod)/@0x6f49a60 - animation-leash)/@0xbfa15e2 D/SurfaceControl(19216): nativeSetFlags Done : Surface(name=Surface(name=fe25492 InputMethod)/@0x6f49a60 - animation-leash)/@0xbfa15e2 D/SurfaceControl(19216): release : Surface(name=Surface(name=7862b74 NavigationBar0)/@0xb86cde - animation-leash)/@0xaf25d73 I/SurfaceControl(19216): nativeRelease nativeObject s[503832354832] I/SurfaceControl(19216): nativeRelease nativeObject e[503832354832] D/SurfaceControl(19216): release : Surface(name=Surface(name=45f6483 StatusBar)/@0xf2cff63 - animation-leash)/@0xb9d0430 I/SurfaceControl(19216): nativeRelease nativeObject s[503832351024] I/SurfaceControl(19216): nativeRelease nativeObject e[503832351024] Syncing files to device SM G988B... 588ms Flutter run key commands. 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 G988B is available at: http://127.0.0.1:41307/EMvXW8qAQpQ=/ I/ViewRootImpl@1bfd2cc[MainActivity](19216): ViewPostIme pointer 0 I/ViewRootImpl@1bfd2cc[MainActivity](19216): ViewPostIme pointer 1 I/ViewRootImpl@1bfd2cc[MainActivity](19216): ViewPostIme pointer 0 I/ViewRootImpl@1bfd2cc[MainActivity](19216): ViewPostIme pointer 1 Application finished. ❯ nano verbose_run.log ❯ cat verbose_run.log [ +93 ms] executing: [/home/adam/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +25 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 78910062997c3a836feee883712c241a5fd22983 [ ] executing: [/home/adam/snap/flutter/common/flutter/] git tag --points-at HEAD [ +32 ms] Exit code 0 from: git tag --points-at HEAD [ ] 1.22.5 [ +6 ms] executing: [/home/adam/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [/home/adam/snap/flutter/common/flutter/] git ls-remote --get-url origin [ +2 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +33 ms] executing: [/home/adam/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +31 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. [ +1 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. [ +10 ms] executing: /home/adam/Android/Sdk/platform-tools/adb devices -l [ +26 ms] List of devices attached 192.168.0.230:41297 device product:z3sxeea model:SM_G988B device:z3s transport_id:1 [ +11 ms] /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell getprop [ +111 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +2 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 '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. [ +160 ms] Generating /home/adam/workplace/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +16 ms] ro.hardware = exynos990 [ ] ro.build.characteristics = phone [ +32 ms] Starting incremental build... [ +2 ms] Initializing file store [ +7 ms] Skipping target: gen_localizations [ +6 ms] complete [ +3 ms] Launching lib/main.dart on SM G988B in debug mode... [ +5 ms] /home/adam/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/adam/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/adam/snap/flutter/common/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 /tmp/flutter_tools.VRLTSO/flutter_tool.PRSTPN/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill [ +6 ms] executing: /home/adam/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/adam/workplace/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +4 ms] Exit code 0 from: /home/adam/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/adam/workplace/bug/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)0x1d A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10") A: package="com.example.bug" (Raw: "com.example.bug") 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=22) A: android:label(0x01010001)="bug" (Raw: "bug") 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.bug.MainActivity" (Raw: "com.example.bug.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 [ +5 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell -x logcat -v time -t 1 [ +521 ms] Exit code 0 from: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell -x logcat -v time -t 1 [ ] --------- beginning of main 01-14 22:58:22.150 D/SensorManager( 1128): TYPE_LIGHT (5): 209.000000 [ +3 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell -x logcat -v time -t 1 [ +451 ms] Exit code 0 from: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell -x logcat -v time -t 1 [ ] --------- beginning of main 01-14 22:58:22.648 D/SensorManager( 1128): TYPE_LIGHT (5): 216.000000 [ +15 ms] <- compile package:bug/main.dart [ +9 ms] executing: /home/adam/Android/Sdk/platform-tools/adb version [ +35 ms] Android Debug Bridge version 1.0.41 Version 30.0.5-6877874 Installed as /home/adam/Android/Sdk/platform-tools/adb [ +1 ms] executing: /home/adam/Android/Sdk/platform-tools/adb start-server [ +6 ms] Building APK [ +17 ms] Running Gradle task 'assembleDebug'... [ +1 ms] gradle.properties already sets `android.enableR8` [ +1 ms] Using gradle from /home/adam/workplace/bug/android/gradlew. [ ] /home/adam/workplace/bug/android/gradlew mode: 33277 rwxrwxr-x. [ +3 ms] executing: [/home/adam/workplace/bug/android/] /home/adam/workplace/bug/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=/home/adam/workplace/bug/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug [+2881 ms] > Task :app:compileFlutterBuildDebug [ ] [ +115 ms] executing: [/home/adam/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +28 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] 78910062997c3a836feee883712c241a5fd22983 [ ] [ ] executing: [/home/adam/snap/flutter/common/flutter/] git tag --points-at HEAD [ ] [ +11 ms] Exit code 0 from: git tag --points-at HEAD [ ] [ ] 1.22.5 [ ] [ +6 ms] executing: [/home/adam/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [/home/adam/snap/flutter/common/flutter/] git ls-remote --get-url origin [ ] [ +4 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +32 ms] executing: [/home/adam/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] [ ] stable [ ] [ +29 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. [ ] [ +1 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. [ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ +7 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] 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. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] 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. [ ] [ ] 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. [ ] [ +65 ms] Initializing file store [ ] [ +27 ms] Skipping target: gen_localizations [ ] [ +542 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged} [ +1 ms] [ +20 ms] /home/adam/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/adam/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/adam/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages /home/adam/workplace/bug/.packages --output-dill /home/adam/workplace/bug/.dart_tool/flutter_build/0c9b150b683926d00c425440c8db9c61/app.dill --depfile /home/adam/workplace/bug/.dart_tool/flutter_build/0c9b150b683926d00c425440c8db9c61/kernel_snapshot.d package:bug/main.dart [+6371 ms] [+7269 ms] kernel_snapshot: Complete [ +199 ms] [ +264 ms] debug_android_application: Starting due to {} [ +400 ms] [ +401 ms] debug_android_application: Complete [ +600 ms] [ +563 ms] Persisting file store [ ] [ +4 ms] Done persisting file store [ ] [ +26 ms] build succeeded. [ ] [ +8 ms] "flutter assemble" took 9,214ms. [ ] [ +2 ms] ensureAnalyticsSent: 0ms [ ] [ ] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 0 [ +198 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 [ +98 ms] > Task :app:cleanMergeDebugAssets [ ] > Task :app:mergeDebugShaders UP-TO-DATE [ ] > Task :app:compileDebugShaders UP-TO-DATE [ ] > Task :app:generateDebugAssets UP-TO-DATE [ ] > Task :app:mergeDebugAssets [ +99 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 [ +198 ms] > Task :app:processDebugManifest [+1099 ms] > Task :app:processDebugResources [ +100 ms] > 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 [ +98 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ ] > Task :app:validateSigningDebug UP-TO-DATE [ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE [ ] > Task :app:signingConfigWriterDebug UP-TO-DATE [ ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE [ ] > Task :app:mergeExtDexDebug UP-TO-DATE [ ] > Task :app:mergeDexDebug UP-TO-DATE [ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE [ +98 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE [ ] Compatible side by side NDK version was not found. [+1199 ms] > Task :app:packageDebug [ +473 ms] > Task :app:assembleDebug [ ] BUILD SUCCESSFUL in 14s [ ] 31 actionable tasks: 8 executed, 23 up-to-date [ +330 ms] Running Gradle task 'assembleDebug'... (completed in 14.5s) [ +363 ms] calculateSha: LocalDirectory: '/home/adam/workplace/bug/build/app/outputs/flutter-apk'/app.apk [ +22 ms] calculateSha: reading file took 22us [ +605 ms] calculateSha: computing sha took 604us [ +3 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk. [ +2 ms] executing: /home/adam/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/adam/workplace/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +6 ms] Exit code 0 from: /home/adam/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/adam/workplace/bug/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)0x1d A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10") A: package="com.example.bug" (Raw: "com.example.bug") 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: uses-permission (line=22) A: android:name(0x01010003)="android.permission.VIBRATE" (Raw: "android.permission.VIBRATE") E: application (line=24) A: android:label(0x01010001)="bug" (Raw: "bug") 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=30) A: android:theme(0x01010000)=@0x7f0a0000 A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.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=44) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0a0001 E: meta-data (line=54) A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable") A: android:resource(0x01010025)=@0x7f040000 E: intent-filter (line=58) E: action (line=59) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=61) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=68) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 [ +1 ms] Stopping app 'app.apk' on SM G988B. [ ] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell am force-stop com.example.bug [ +82 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell pm list packages com.example.bug [ +64 ms] package:com.example.bug [ +1 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell cat /data/local/tmp/sky.com.example.bug.sha1 [ +30 ms] 2b881cc366b19bcd52cdf65ee6d5bbcb2b720c85 [ ] Installing APK. [ +1 ms] executing: /home/adam/Android/Sdk/platform-tools/adb version [ +5 ms] Android Debug Bridge version 1.0.41 Version 30.0.5-6877874 Installed as /home/adam/Android/Sdk/platform-tools/adb [ ] executing: /home/adam/Android/Sdk/platform-tools/adb start-server [ +7 ms] Installing build/app/outputs/flutter-apk/app.apk... [ ] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 install -t -r /home/adam/workplace/bug/build/app/outputs/flutter-apk/app.apk [+19301 ms] Performing Streamed Install Success [ ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 19.3s) [ +2 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 shell echo -n 3cebe9164c8d9bb2120588f9bb8543b45ac12896 > /data/local/tmp/sky.com.example.bug.sha1 [ +30 ms] SM G988B startApp [ +5 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 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.bug/com.example.bug.MainActivity [ +93 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) } [ ] Waiting for observatory port to be available... [+1147 ms] Observatory URL on device: http://127.0.0.1:41259/bYD4E3XcOms=/ [ +2 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 forward tcp:0 tcp:41259 [ +9 ms] 33331 [ ] Forwarded host port 33331 to device port 41259 for Observatory [ +5 ms] Caching compiled dill [ +22 ms] Connecting to service protocol: http://127.0.0.1:33331/bYD4E3XcOms=/ [ ] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507 [ +367 ms] Successfully connected to service protocol: http://127.0.0.1:33331/bYD4E3XcOms=/ [ ] Waiting for SM G988B to report its views... [ +21 ms] Waiting for SM G988B to report its views... (completed in 19ms) [ +35 ms] DevFS: Creating new filesystem on the device (null) [ +58 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugWXJYBQ/bug/) [ +3 ms] Updating assets [ +64 ms] Syncing files to device SM G988B... [ +1 ms] Scanning asset files [ +1 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ ] <- recompile package:bug/main.dart 467e3daa-591f-410e-a210-8efd81823a20 [ ] <- 467e3daa-591f-410e-a210-8efd81823a20 [ +170 ms] Updating files [ +235 ms] DevFS: Sync finished [ +1 ms] Syncing files to device SM G988B... (completed in 411ms) [ +1 ms] Synced 1.8MB. [ +1 ms] <- accept [ +8 ms] Connected to _flutterView/0x760ebf66f0. [ +2 ms] Flutter run key commands. [ +2 ms] r Hot reload. 🔥🔥🔥 [ +1 ms] 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 G988B is available at: http://127.0.0.1:33331/bYD4E3XcOms=/ [+2040 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +142 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +222 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +101 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +83 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +72 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [+1228 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +104 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +125 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +80 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +146 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +66 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +128 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +116 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +158 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +61 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +123 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +62 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [+2473 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +100 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +76 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 0 [ +87 ms] I/ViewRootImpl@6af1915[MainActivity](18607): ViewPostIme pointer 1 [ +535 ms] Application finished. [ +1 ms] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 forward --list [ +8 ms] Exit code 0 from: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 forward --list [ ] 192.168.0.230:41297 tcp:33331 tcp:41259 [ ] executing: /home/adam/Android/Sdk/platform-tools/adb -s 192.168.0.230:41297 forward --remove tcp:33331 ``` ``` Analyzing bug... No issues found! (ran in 2.2s) ``` ``` [✓] Flutter (Channel stable, 1.22.5, on Linux, locale en_GB.UTF-8) • Flutter version 1.22.5 at /home/adam/snap/flutter/common/flutter • Framework revision 7891006299 (5 weeks ago), 2020-12-10 11:54:40 -0800 • Engine revision ae90085a84 • Dart version 2.10.4 [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /home/adam/Android/Sdk • Platform android-30, build-tools 30.0.3 • Java binary at: /usr/bin/java • Java version OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04) • All Android licenses accepted. [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions). [✓] Connected device (1 available) • SM G988B (mobile) • 192.168.0.230:41297 • android-arm64 • Android 11 (API 30) ! Doctor found issues in 1 category. ```