Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package keyboard_visibility breaks with changing FlutterActivity to FlutterFragmentActivity #55750

Closed
kendall-lu opened this issue Apr 27, 2020 · 4 comments

Comments

@kendall-lu
Copy link

kendall-lu commented Apr 27, 2020

Keyboard_visibility, https://pub.dev/packages/keyboard_visibility breaks, with the integration of local_auth, https://pub.dev/packages/local_auth breaks keyboard listeners.
Steps to reproduce:

  1. Changing FlutterActivity in MainActivity.kt to FlutterFragmentActivity will cause all of the keyboard listeners to break (this is a necessary step in local_auth to be able to detect forms of biometric authentication)
    Breaking code:
package com.example.testing

import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterFragmentActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterFragmentActivity() {
    override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
        GeneratedPluginRegistrant.registerWith(flutterEngine);
    }
}

Logs for local_auth:

E/flutter (22989): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(no_fragment_activity, local_auth plugin requires activity to be a FragmentActivity., null)
E/flutter (22989): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter (22989): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:321:33)
E/flutter (22989): <asynchronous suspension>
E/flutter (22989): #2      LocalAuthentication.authenticateWithBiometrics (package:local_auth/local_auth.dart:95:27)
E/flutter (22989): #3      _LoginState.authenticateWithBiometrics.<anonymous closure> (package:myapp/login/login.dart:99:48)
E/flutter (22989): #4      new Future.delayed.<anonymous closure> (dart:async/future.dart:316:39)
E/flutter (22989): #5      _rootRun (dart:async/zone.dart:1122:38)
E/flutter (22989): #6      _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter (22989): #7      _CustomZone.runGuarded (dart:async/zone.dart:925:7)
E/flutter (22989): #8      _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
E/flutter (22989): #9      _rootRun (dart:async/zone.dart:1126:13)
E/flutter (22989): #10     _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter (22989): #11     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:949:23)
E/flutter (22989): #12     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:23:15)
E/flutter (22989): #13     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter (22989): #14     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter (22989): #15     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter (22989): 

flutter doctor -v

[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.3 19D76, locale en-US)
    • Flutter version 1.12.13+hotfix.8 at /Users/kendalllu/flutter
    • Framework revision 0b8abb4724 (3 months ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/kendalllu/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.0

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Community Edition (version 2019.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.42.1)
    • VS Code at /Users/kendalllu/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
@VladyslavBondarenko
Copy link

Hi @kendall-lu
does it help if you have such MainActivity.kt?

package com.example.testing

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}

this is default when you create a new project with flutter create. I can run both the plugins with it

@VladyslavBondarenko VladyslavBondarenko added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Apr 28, 2020
@kendall-lu
Copy link
Author

kendall-lu commented Apr 30, 2020

Hi @kendall-lu
does it help if you have such MainActivity.kt?

package com.example.testing

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}

this is default when you create a new project with flutter create. I can run both the plugins with it

hey, thanks for replying. I forgot to mention I am developing on 3 different devices, iPhone 10, pixel 3A and a nexus 6. iPhone 10 works with local_auth (biometrics are available for device), nexus 6 does not have biometric capabilities, and pixel 3A has biometrics. Pixel 3A throws error when attempting to authenticate with fingerprint :

E/flutter (19576): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(no_fragment_activity, local_auth plugin requires activity to be a FragmentActivity., null)
E/flutter (19576): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter (19576): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:321:33)
E/flutter (19576): <asynchronous suspension>
E/flutter (19576): #2      LocalAuthentication.authenticateWithBiometrics (package:local_auth/local_auth.dart:95:27)
E/flutter (19576): #3      _LoginState.authenticateWithBiometrics.<anonymous closure> (package:myapp/login/login.dart:104:48)
E/flutter (19576): #4      new Future.delayed.<anonymous closure> (dart:async/future.dart:316:39)
E/flutter (19576): #5      _rootRun (dart:async/zone.dart:1122:38)
E/flutter (19576): #6      _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter (19576): #7      _CustomZone.runGuarded (dart:async/zone.dart:925:7)
E/flutter (19576): #8      _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
E/flutter (19576): #9      _rootRun (dart:async/zone.dart:1126:13)
E/flutter (19576): #10     _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter (19576): #11     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:949:23)
E/flutter (19576): #12     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:23:15)
E/flutter (19576): #13     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:384:19)
E/flutter (19576): #14     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
E/flutter (19576): #15     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter (19576): 

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Apr 30, 2020
@iapicca
Copy link
Contributor

iapicca commented May 4, 2020

Hi
I tried the sample app
using FlutterFragmentActivity() as specified by the plugin docs and everything works as intended

logs
[  +13 ms] executing: [/Users/nevercode/development/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +73 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 17bbc2a2354559552fe8968b2b474b5b7fb21c44
[        ] executing: [/Users/nevercode/development/flutter_master/] git tag --contains HEAD
[ +490 ms] Exit code 0 from: git tag --contains HEAD
[  +10 ms] executing: [/Users/nevercode/development/flutter_master/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[ +202 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[   +1 ms] 1.18.0-8.0.pre-101-g17bbc2a23
[  +13 ms] executing: [/Users/nevercode/development/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/master
[        ] executing: [/Users/nevercode/development/flutter_master/] git ls-remote --get-url origin
[  +14 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +154 ms] executing: [/Users/nevercode/development/flutter_master/] git rev-parse --abbrev-ref HEAD
[  +28 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +41 ms] executing: sw_vers -productName
[  +35 ms] Exit code 0 from: sw_vers -productName
[   +1 ms] Mac OS X
[        ] executing: sw_vers -productVersion
[  +35 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.4
[        ] executing: sw_vers -buildVersion
[  +31 ms] Exit code 0 from: sw_vers -buildVersion
[   +1 ms] 19E287
[  +81 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.
[   +7 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.
[  +38 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb devices -l
[  +60 ms] executing: /usr/bin/xcode-select --print-path
[  +16 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +2 ms] executing: /usr/bin/xcodebuild -version
[+1362 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 11.3.1
           Build version 11C504
[   +9 ms] executing: xcrun --find xcdevice
[  +18 ms] Exit code 0 from: xcrun --find xcdevice
[        ] /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice
[        ] executing: xcrun xcdevice list --timeout 2
[   +5 ms] /usr/bin/xcrun simctl list --json devices
[        ] executing: /usr/bin/xcrun simctl list --json devices
[  +69 ms] List of devices attached
           965AY0WP5C             device usb:336592896X product:sargo model:Pixel_3a device:sargo transport_id:1
[ +173 ms] {
                      "devices" : {
                        "com.apple.CoreSimulator.SimRuntime.watchOS-6-1" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple Watch Series 4 - 40mm",
                            "udid" : "7F389A7F-C267-412A-8DB8-63A83386A06F"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple Watch Series 4 - 44mm",
                            "udid" : "3568E5A3-98A0-414B-9A79-5CC234FA6E2B"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple Watch Series 5 - 40mm",
                            "udid" : "3B543693-444A-4E3D-BD8A-9BD2AE2EDD2F"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple Watch Series 5 - 44mm",
                            "udid" : "AF6A4F31-535E-4FE6-A062-49A81AB5AAE3"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.tvOS-13-3" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple TV",
                            "udid" : "8EC4E84F-BA3E-4251-8351-8324AC08E126"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple TV 4K",
                            "udid" : "8FFD5279-9EEA-49AE-83CA-8736CB3E61AB"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple TV 4K (at 1080p)",
                            "udid" : "8A1D2EC5-B2B9-474D-81DF-E6A3D0DB84EF"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.iOS-13-3" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 8",
                            "udid" : "D5F70F31-B488-4454-9539-320B5551D92A"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 8 Plus",
                            "udid" : "62B827A3-68BD-46BD-8E92-DE5297DF3840"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 11",
                            "udid" : "D1B95CB0-D10B-4983-9AFE-6DB7C4006D15"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 11 Pro",
                            "udid" : "8B67BA47-2EED-4956-B383-17112E09F7BC"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 11 Pro Max",
                            "udid" : "A1664A8D-8DB6-4659-B012-18746A2DB8C3"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad Pro (9.7-inch)",
                            "udid" : "A7BC437A-C1AB-4DDC-B723-5BC2411FF606"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad (7th generation)",
                            "udid" : "50905834-EA49-46D1-9282-2BFD80B002C9"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad Pro (11-inch)",
                            "udid" : "C37B8020-20B5-44D3-BB6B-1E34569A3E57"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad Pro (12.9-inch) (3rd generation)",
                            "udid" : "BBD1E939-BE74-444C-825D-6DA528EF37D0"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad Air (3rd generation)",
                            "udid" : "609AAB06-1510-466F-82F8-1951E7EAFCD2"
                          }
                        ]
                      }
                    }
[+4401 ms] [
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17K446)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "8FFD5279-9EEA-49AE-83CA-8736CB3E61AB",
                        "architecture" : "x86_64",
                        "modelName" : "Apple TV 4K",
                        "name" : "Apple TV 4K"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,1",
                        "identifier" : "C37B8020-20B5-44D3-BB6B-1E34569A3E57",
                        "architecture" : "x86_64",
                        "modelName" : "iPad Pro (11-inch)",
                        "name" : "iPad Pro (11-inch)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17K446)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "8A1D2EC5-B2B9-474D-81DF-E6A3D0DB84EF",
                        "architecture" : "x86_64",
                        "modelName" : "Apple TV 4K (at 1080p)",
                        "name" : "Apple TV 4K (at 1080p)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,5",
                        "identifier" : "A1664A8D-8DB6-4659-B012-18746A2DB8C3",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 11 Pro Max",
                        "name" : "iPhone 11 Pro Max"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad6,4",
                        "identifier" : "A7BC437A-C1AB-4DDC-B723-5BC2411FF606",
                        "architecture" : "x86_64",
                        "modelName" : "iPad Pro (9.7-inch)",
                        "name" : "iPad Pro (9.7-inch)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.1.1 (17S445)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,4",
                        "identifier" : "3568E5A3-98A0-414B-9A79-5CC234FA6E2B",
                        "architecture" : "i386",
                        "modelName" : "Apple Watch Series 4 - 44mm",
                        "name" : "Apple Watch Series 4 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad11,3",
                        "identifier" : "609AAB06-1510-466F-82F8-1951E7EAFCD2",
                        "architecture" : "x86_64",
                        "modelName" : "iPad Air (3rd generation)",
                        "name" : "iPad Air (3rd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17K446)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV5,3",
                        "identifier" : "8EC4E84F-BA3E-4251-8351-8324AC08E126",
                        "architecture" : "x86_64",
                        "modelName" : "Apple TV",
                        "name" : "Apple TV"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,4",
                        "identifier" : "D5F70F31-B488-4454-9539-320B5551D92A",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 8",
                        "name" : "iPhone 8"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,5",
                        "identifier" : "BBD1E939-BE74-444C-825D-6DA528EF37D0",
                        "architecture" : "x86_64",
                        "modelName" : "iPad Pro (12.9-inch) (3rd generation)",
                        "name" : "iPad Pro (12.9-inch) (3rd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,3",
                        "identifier" : "8B67BA47-2EED-4956-B383-17112E09F7BC",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 11 Pro",
                        "name" : "iPhone 11 Pro"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.1.1 (17S445)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,3",
                        "identifier" : "3B543693-444A-4E3D-BD8A-9BD2AE2EDD2F",
                        "architecture" : "i386",
                        "modelName" : "Apple Watch Series 5 - 40mm",
                        "name" : "Apple Watch Series 5 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,5",
                        "identifier" : "62B827A3-68BD-46BD-8E92-DE5297DF3840",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 8 Plus",
                        "name" : "iPhone 8 Plus"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,1",
                        "identifier" : "D1B95CB0-D10B-4983-9AFE-6DB7C4006D15",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 11",
                        "name" : "iPhone 11"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad7,12",
                        "identifier" : "50905834-EA49-46D1-9282-2BFD80B002C9",
                        "architecture" : "x86_64",
                        "modelName" : "iPad (7th generation)",
                        "name" : "iPad (7th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.1.1 (17S445)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,3",
                        "identifier" : "7F389A7F-C267-412A-8DB8-63A83386A06F",
                        "architecture" : "i386",
                        "modelName" : "Apple Watch Series 4 - 40mm",
                        "name" : "Apple Watch Series 4 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.1.1 (17S445)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,4",
                        "identifier" : "AF6A4F31-535E-4FE6-A062-49A81AB5AAE3",
                        "architecture" : "i386",
                        "modelName" : "Apple Watch Series 5 - 44mm",
                        "name" : "Apple Watch Series 5 - 44mm"
                      }
                    ]
[  +15 ms] /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell getprop
[ +109 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +162 ms] Found plugin flutter_plugin_android_lifecycle at /Users/nevercode/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.7/
[  +17 ms] Found plugin local_auth at /Users/nevercode/development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth-0.6.2+1/
[ +129 ms] Found plugin flutter_plugin_android_lifecycle at /Users/nevercode/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.7/
[   +6 ms] Found plugin local_auth at /Users/nevercode/development/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth-0.6.2+1/
[ +131 ms] Generating /Users/nevercode/Desktop/projects/master/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +64 ms] ro.hardware = sargo
[        ] ro.build.characteristics = nosdcard
[ +108 ms] Launching lib/main.dart on Pixel 3a in debug mode...
[   +8 ms] /Users/nevercode/development/flutter_master/bin/cache/dart-sdk/bin/dart
/Users/nevercode/development/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/nevercode/development/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
-Ddart.developer.causal_async_stacks=true --output-dill /var/folders/c3/l5jpznsj5k37yrj47l__xpw40000gn/T/flutter_tool.e4z3Wi/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
[  +29 ms] executing: /Users/nevercode/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/nevercode/Desktop/projects/master/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[  +32 ms] Exit code 0 from: /Users/nevercode/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/nevercode/Desktop/projects/master/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)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.master" (Raw: "com.example.master")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.USE_FINGERPRINT" (Raw: "android.permission.USE_FINGERPRINT")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.USE_BIOMETRIC" (Raw: "android.permission.USE_BIOMETRIC")
               E: application (line=24)
                 A: android:label(0x01010001)="master" (Raw: "master")
                 A: android:icon(0x01010002)=@0x7f0b0000
                 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)=@0x7f0d00a3
                   A: android:name(0x01010003)="com.example.master.MainActivity" (Raw: "com.example.master.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)=@0x7f0d00a4
                   E: meta-data (line=54)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f0600d5
                   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
                 E: activity (line=72)
                   A: android:theme(0x01010000)=@0x7f0d00a2
                   A: android:name(0x01010003)="androidx.biometric.DeviceCredentialHandlerActivity" (Raw: "androidx.biometric.DeviceCredentialHandlerActivity")
[  +14 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell -x logcat -v time -t 1
[  +95 ms] Exit code 0 from: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell -x logcat -v time -t 1
[   +1 ms] --------- beginning of main
           05-04 10:45:31.863 W/SensorService( 1385): Dropping 1 cached events (10000/10000) to save 1/1 new events. 129 events previously dropped
[  +26 ms] <- compile package:master/main.dart
[  +63 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb version
[ +132 ms] Android Debug Bridge version 1.0.41
                    Version 30.0.0-6374843
                    Installed as /Users/nevercode/Library/Android/sdk/platform-tools/adb
[   +8 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb start-server
[  +27 ms] Building APK
[  +64 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] gradle.properties already sets `android.enableR8`
[  +53 ms] Using gradle from /Users/nevercode/Desktop/projects/master/android/gradlew.
[  +34 ms] /Users/nevercode/Desktop/projects/master/android/gradlew mode: 33261 rwxr-xr-x.
[  +47 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +30 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android
Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Cont
ents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","WorkingDirecto
ry":"$APP_PACKAGE\/Contents\/bin","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio3.6","idea.executable":"studio","idea.platform.prefix":"A
ndroidStudio","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop
folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-192.7142.36.36.6392135","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in
Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All
documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBund
lePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"3.6","NSMicrophoneUsageDescription":"An application in Android
Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android
Studio requests access to the user's location
information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifie
r":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsag
eDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests
access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network
volume.","CFBundleGetInfoString":"Android Studio 3.6, build AI-192.7142.36.36.6392135. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An
application in Android Studio requests access to files on a removable volume."}
[  +13 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +111 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
           OpenJDK 64-Bit Server VM (build 25.212-b4-5784211, mixed mode)
[   +3 ms] executing: [/Users/nevercode/Desktop/projects/master/android/] /Users/nevercode/Desktop/projects/master/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=/Users/nevercode/Desktop/projects/master/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+4903 ms] > Task :app:compileFlutterBuildDebug
[   +3 ms] [  +11 ms] executing: [/Users/nevercode/development/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [  +58 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [   +1 ms] 17bbc2a2354559552fe8968b2b474b5b7fb21c44
[   +3 ms] [        ] executing: [/Users/nevercode/development/flutter_master/] git tag --contains HEAD
[   +2 ms] [ +658 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] [   +3 ms] executing: [/Users/nevercode/development/flutter_master/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] [ +190 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] [        ] 1.18.0-8.0.pre-101-g17bbc2a23
[        ] [  +12 ms] executing: [/Users/nevercode/development/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/Users/nevercode/development/flutter_master/] git ls-remote --get-url origin
[        ] [  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +75 ms] executing: [/Users/nevercode/development/flutter_master/] git rev-parse --abbrev-ref HEAD
[        ] [  +27 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +85 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +7 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.
[        ] [  +30 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[  +21 ms] [        ] 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.
[  +20 ms] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ +200 ms] [ +230 ms] Initializing file store
[        ] [  +16 ms] Done initializing file store
[ +802 ms] [ +751 ms] Skipping target: kernel_snapshot
[ +399 ms] [ +438 ms] Skipping target: debug_android_application
[        ] [   +1 ms] Persisting file store
[        ] [  +15 ms] Done persisting file store
[        ] [  +10 ms] build succeeded.
[        ] [  +19 ms] "flutter assemble" took 1,567ms.
[ +298 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:preBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:preDebugBuild UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugAidl NO-SOURCE
[        ] > Task :local_auth:preBuild UP-TO-DATE
[        ] > Task :local_auth:preDebugBuild UP-TO-DATE
[        ] > Task :local_auth:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:packageDebugRenderscript NO-SOURCE
[        ] > Task :local_auth:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +95 ms] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugShaders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugShaders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugAssets UP-TO-DATE
[   +7 ms] > Task :flutter_plugin_android_lifecycle:packageDebugAssets UP-TO-DATE
[        ] > Task :local_auth:mergeDebugShaders UP-TO-DATE
[        ] > Task :local_auth:compileDebugShaders UP-TO-DATE
[        ] > Task :local_auth:generateDebugAssets UP-TO-DATE
[        ] > Task :local_auth:packageDebugAssets UP-TO-DATE
[  +86 ms] > Task :app:mergeDebugAssets
[ +399 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[   +1 ms] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugResValues UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugRenderscript NO-SOURCE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:generateDebugResources UP-TO-DATE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:packageDebugResources UP-TO-DATE
[        ] > Task :local_auth:compileDebugRenderscript NO-SOURCE
[        ] > Task :local_auth:generateDebugResValues UP-TO-DATE
[        ] > Task :local_auth:generateDebugResources UP-TO-DATE
[        ] > Task :local_auth:packageDebugResources UP-TO-DATE
[  +93 ms] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:checkDebugManifest UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:processDebugManifest UP-TO-DATE
[        ] > Task :local_auth:checkDebugManifest UP-TO-DATE
[        ] > Task :local_auth:processDebugManifest UP-TO-DATE
[  +97 ms] > Task :app:processDebugManifest UP-TO-DATE
[   +1 ms] > Task :flutter_plugin_android_lifecycle:parseDebugLibraryResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugRFile UP-TO-DATE
[        ] > Task :local_auth:parseDebugLibraryResources UP-TO-DATE
[        ] > Task :local_auth:generateDebugRFile UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:javaPreCompileDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:bundleLibCompileDebug UP-TO-DATE
[        ] > Task :local_auth:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :local_auth:javaPreCompileDebug UP-TO-DATE
[        ] > Task :local_auth:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :local_auth:bundleLibCompileDebug UP-TO-DATE
[+2296 ms] > Task :app:compileDebugKotlin
[  +99 ms] > Task :app:javaPreCompileDebug
[ +395 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:processDebugJavaRes NO-SOURCE
[        ] > Task :flutter_plugin_android_lifecycle:bundleLibResDebug UP-TO-DATE
[        ] > Task :local_auth:processDebugJavaRes NO-SOURCE
[        ] > Task :local_auth:bundleLibResDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[  +98 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ +100 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:createFullJarDebug UP-TO-DATE
[        ] > Task :local_auth:bundleLibRuntimeDebug UP-TO-DATE
[        ] > Task :local_auth:createFullJarDebug UP-TO-DATE
[ +295 ms] > Task :app:transformClassesWithDexBuilderForDebug
[        ] > Task :app:mergeLibDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[   +1 ms] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[        ] > Task :local_auth:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :local_auth:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :local_auth:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :local_auth:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[  +95 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] Compatible side by side NDK version was not found.
[   +1 ms] > Task :flutter_plugin_android_lifecycle:extractDebugAnnotations UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:bundleDebugAar UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:compileDebugSources UP-TO-DATE
[        ] > Task :flutter_plugin_android_lifecycle:assembleDebug UP-TO-DATE
[        ] > Task :local_auth:extractDebugAnnotations UP-TO-DATE
[        ] > Task :local_auth:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :local_auth:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :local_auth:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :local_auth:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :local_auth:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[        ] > Task :local_auth:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[        ] > Task :local_auth:bundleDebugAar UP-TO-DATE
[        ] > Task :local_auth:compileDebugSources UP-TO-DATE
[        ] > Task :local_auth:assembleDebug UP-TO-DATE
[  +92 ms] > Task :app:mergeProjectDexDebug
[+1002 ms] > Task :app:packageDebug
[ +195 ms] > Task :app:assembleDebug
[        ] BUILD SUCCESSFUL in 12s
[        ] 88 actionable tasks: 10 executed, 78 up-to-date
[ +459 ms] Running Gradle task 'assembleDebug'... (completed in 12.9s)
[ +102 ms] calculateSha: LocalDirectory: '/Users/nevercode/Desktop/projects/master/build/app/outputs/flutter-apk'/app.apk
[  +88 ms] calculateSha: reading file took 87us
[ +789 ms] calculateSha: computing sha took 788us
[   +6 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +7 ms] executing: /Users/nevercode/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/nevercode/Desktop/projects/master/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[  +54 ms] Exit code 0 from: /Users/nevercode/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree
/Users/nevercode/Desktop/projects/master/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.master" (Raw: "com.example.master")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.USE_FINGERPRINT" (Raw: "android.permission.USE_FINGERPRINT")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.USE_BIOMETRIC" (Raw: "android.permission.USE_BIOMETRIC")
               E: application (line=24)
                 A: android:label(0x01010001)="master" (Raw: "master")
                 A: android:icon(0x01010002)=@0x7f0b0000
                 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)=@0x7f0d00a3
                   A: android:name(0x01010003)="com.example.master.MainActivity" (Raw: "com.example.master.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)=@0x7f0d00a4
                   E: meta-data (line=54)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f0600d5
                   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
                 E: activity (line=72)
                   A: android:theme(0x01010000)=@0x7f0d00a2
                   A: android:name(0x01010003)="androidx.biometric.DeviceCredentialHandlerActivity" (Raw: "androidx.biometric.DeviceCredentialHandlerActivity")
[   +1 ms] Stopping app 'app.apk' on Pixel 3a.
[   +1 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell am force-stop com.example.master
[ +121 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell pm list packages com.example.master
[ +104 ms] package:com.example.master
[   +6 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell cat /data/local/tmp/sky.com.example.master.sha1
[  +77 ms] 4b03fe5159a82c9f96308656479046325ff8b088
[   +1 ms] Installing APK.
[   +3 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb version
[  +13 ms] Android Debug Bridge version 1.0.41
           Version 30.0.0-6374843
           Installed as /Users/nevercode/Library/Android/sdk/platform-tools/adb
[   +1 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb start-server
[  +12 ms] Installing build/app/outputs/flutter-apk/app.apk...
[   +1 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C install -t -r
/Users/nevercode/Desktop/projects/master/build/app/outputs/flutter-apk/app.apk
[+4484 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 4.5s)
[   +9 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C shell echo -n ed8f5460b8d2325699331d35e8ebf9f4e2359d62 >
/data/local/tmp/sky.com.example.master.sha1
[  +37 ms] Pixel 3a startApp
[   +7 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C 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.master/com.example.master.MainActivity
[ +145 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.master/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+1133 ms] Observatory URL on device: http://127.0.0.1:43263/fatGen-Zt50=/
[  +10 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward tcp:0 tcp:43263
[  +10 ms] 51320
[        ] Forwarded host port 51320 to device port 43263 for Observatory
[  +16 ms] Connecting to service protocol: http://127.0.0.1:51320/fatGen-Zt50=/
[ +445 ms] Successfully connected to service protocol: http://127.0.0.1:51320/fatGen-Zt50=/
[  +31 ms] DevFS: Creating new filesystem on the device (null)
[  +50 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.master/code_cache/masterLTABCX/master/)
[   +4 ms] Updating assets
[ +197 ms] Syncing files to device Pixel 3a...
[   +8 ms] Scanning asset files
[   +3 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:master/main.dart e192d56e-6270-43e7-a3ee-7a418589a548
[        ] <- e192d56e-6270-43e7-a3ee-7a418589a548
[  +70 ms] Updating files
[ +171 ms] DevFS: Sync finished
[   +3 ms] Syncing files to device Pixel 3a... (completed in 256ms)
[   +6 ms] Synced 0.8MB.
[   +9 ms] <- accept
[        ] Connected to _flutterView/0x6f4015a820.
[   +1 ms] Flutter run key commands.
[   +1 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 Pixel 3a is available at: http://127.0.0.1:51320/fatGen-Zt50=/
[+11656 ms] Service protocol connection closed.
[   +2 ms] Lost connection to device.
[  +11 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --list
[  +11 ms] Exit code 0 from: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --list
[        ] 965AY0WP5C tcp:51320 tcp:43263
[   +2 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --remove tcp:51320
[  +15 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.master/code_cache/masterLTABCX/master/)
[ +263 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +3 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --list
[   +8 ms] Exit code 0 from: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --list
[   +2 ms] "flutter run" took 40,659ms.

while FlutterActivity() builds w/o errors, but, as expected, doesn't work

more logs ```bash [ +2 ms] Flutter run key commands. [ +2 ms] r Hot reload. 🔥🔥🔥 [ +2 ms] R Hot restart. [ ] h Repeat this help message. [ +1 ms] d Detach (terminate "flutter run" but leave application running). [ +2 ms] c Clear the screen [ +2 ms] q Quit (terminate the application on the device). [ ] An Observatory debugger and profiler on Pixel 3a is available at: http://127.0.0.1:51176/2_jG3yZtbdk=/ [+10293 ms] I/flutter ( 1899): PlatformException(no_fragment_activity, local_auth plugin requires activity to be a FragmentActivity., null) [+9440 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.master/code_cache/masterKEAOPT/master/) [ +31 ms] DevFS: Deleted filesystem on the device (file:///data/user/0/com.example.master/code_cache/masterKEAOPT/master/) [ +381 ms] Service protocol connection closed. [ ] Application finished. [ +5 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --list [ +7 ms] Exit code 0 from: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --list [ ] 965AY0WP5C tcp:51176 tcp:38115 [ +2 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --remove tcp:51176 [ +12 ms] executing: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --list [ +8 ms] Exit code 0 from: /Users/nevercode/Library/Android/sdk/platform-tools/adb -s 965AY0WP5C forward --list [ +2 ms] "flutter run" took 127,723ms. ```
[✓] Flutter (Channel master, 1.18.0-9.0.pre.101, on Mac OS X 10.15.4 19E287, locale en-EE)
    • Flutter version 1.18.0-9.0.pre.101 at /Users/nevercode/development/flutter_master
    • Framework revision 17bbc2a235 (10 hours ago), 2020-05-03 17:34:02 -0400
    • Engine revision 906bf59684
    • Dart version 2.9.0 (build 2.9.0-5.0.dev c3ce873556)


[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1

[✓] Connected device (3 available)
    • Pixel 3a   • 965AY0WP5C • android-arm64  • Android 10 (API 29)
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.129

• No issues found!

the issue likely depends from the 3rd party plugin keyboard_visibility you might want to open an issue in the dedicated github

Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

@lock
Copy link

lock bot commented May 21, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@lock lock bot locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants