Closed nateshmbhat closed 1 year ago
Hi @nateshmbhat Can you please provide a minimal complete reproducible code sample. Thank you
@pedromassango Here is a bare minimal example app.
https://github.com/nateshmbhat/flutter-multi-module-app
Just run the app and try to change the text. Hot reload and hot restart both don't work.
@pedromassango The hot reload and hot restart work when I put the modules outside the lib
folder.
But don't work when I put the modules inside the lib
folder.
Hi @nateshmbhat Flutter modules should not be placed inside the /lib folder, it always should stay beside the /lib folder. So you can fix your issue be put the modules outside the /lib folder.
I would close this but will leave this opened as a reminder that We should update the Flutter website to state this. Thank you
You can add this message in the flutter IDE tooling itself and warn user if he's creating it inside lib/
is there anything to contribute to this issue? Please suggest.
@nateshmbhat thank you for your issue, we are going to create a separate issue specifically for updating documentation around hot reload/restart so I will close this out to consolidate into one issue
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.
we are building a big flutter application and so we have created multiple modules and using them in our flutter app. Each module contains many screens.
Here is the folder structure for the app :
Issue
Hot reload and hot restart don't work at all. I need to stop the app and rebuild the whole thing again to see the changes.
Steps to Reproduce
Expected results: The change should get reflected once the screen restarts.
Actual results: No change in the screen. It's as if the code is not actually synced to the device itself. I don't see any error in the console. In fact everything seems to look normal except that it doesn't work.
Flutter Doctor :
Logs
``` [ +16 ms] executing: [/Users/nateshmbhat/Apps/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +63 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 8fe7655ed20ffd1395f68e30539a847a01a30351 [ ] executing: [/Users/nateshmbhat/Apps/flutter/] git tag --contains HEAD [ +19 ms] Exit code 0 from: git tag --contains HEAD [ ] 1.19.0-4.3.pre [ +13 ms] executing: [/Users/nateshmbhat/Apps/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] official_github/beta [ ] executing: [/Users/nateshmbhat/Apps/flutter/] git ls-remote --get-url official_github [ +9 ms] Exit code 0 from: git ls-remote --get-url official_github [ ] https://github.com/flutter/flutter.git [ +81 ms] executing: [/Users/nateshmbhat/Apps/flutter/] git rev-parse --abbrev-ref HEAD [ +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] beta [ +21 ms] executing: sw_vers -productName [ +34 ms] Exit code 0 from: sw_vers -productName [ ] Mac OS X [ ] executing: sw_vers -productVersion [ +21 ms] Exit code 0 from: sw_vers -productVersion [ ] 10.15.2 [ ] executing: sw_vers -buildVersion [ +26 ms] Exit code 0 from: sw_vers -buildVersion [ +1 ms] 19C57 [ +60 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +28 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb devices -l [ +10 ms] executing: /usr/bin/xcode-select --print-path [ +22 ms] Exit code 0 from: /usr/bin/xcode-select --print-path [ +3 ms] /Library/Developer/CommandLineTools [ +2 ms] executing: /usr/bin/xcodebuild -version [ +18 ms] Exit code 1 from: /usr/bin/xcodebuild -version [ ] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance [ ] Xcode not found. Run 'flutter doctor' for more information. [ +4 ms] executing: /usr/bin/xcodebuild -version [ +16 ms] Exit code 1 from: /usr/bin/xcodebuild -version [ +2 ms] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance [ +72 ms] List of devices attached 192.168.0.107:5555 device product:OnePlus7 model:GM1901 device:OnePlus7 transport_id:1 [ +11 ms] /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 shell getprop [ +233 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] 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. [ +13 ms] executing: /usr/bin/xcodebuild -version [ +4 ms] Exit code 1 from: /usr/bin/xcodebuild -version [ ] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance [ +234 ms] Found plugin connectivity at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.9/ [ +8 ms] Found plugin connectivity_for_web at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_for_web-0.3.1/ [ +2 ms] Found plugin connectivity_macos at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_macos-0.1.0+3/ [ +24 ms] Found plugin flutter_plugin_android_lifecycle at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.8/ [ +24 ms] Found plugin local_auth at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth-0.6.2+3/ [ +20 ms] Found plugin path_provider at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/ [ +2 ms] Found plugin path_provider_linux at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/ [ +2 ms] Found plugin path_provider_macos at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/ [ +4 ms] Found plugin permission_handler at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ [ +41 ms] Found plugin url_launcher at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.5.0/ [ +3 ms] Found plugin url_launcher_linux at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-0.0.1+1/ [ +10 ms] Found plugin url_launcher_macos at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+7/ [ +9 ms] Found plugin url_launcher_web at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.2/ [ +139 ms] Found plugin card_scanner at /Users/nateshmbhat/Desktop/FlutterVitals/falcon-card-scanner/ [ +181 ms] Found plugin connectivity at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.9/ [ +2 ms] Found plugin connectivity_for_web at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_for_web-0.3.1/ [ +1 ms] Found plugin connectivity_macos at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_macos-0.1.0+3/ [ +16 ms] Found plugin flutter_plugin_android_lifecycle at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.8/ [ +33 ms] Found plugin local_auth at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/local_auth-0.6.2+3/ [ +16 ms] Found plugin path_provider at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.11/ [ +1 ms] Found plugin path_provider_linux at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/ [ +1 ms] Found plugin path_provider_macos at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+3/ [ +4 ms] Found plugin permission_handler at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ [ +79 ms] Found plugin url_launcher at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.5.0/ [ +2 ms] Found plugin url_launcher_linux at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-0.0.1+1/ [ +2 ms] Found plugin url_launcher_macos at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+7/ [ +3 ms] Found plugin url_launcher_web at /Users/nateshmbhat/Apps/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.2/ [ +47 ms] Found plugin card_scanner at /Users/nateshmbhat/Desktop/FlutterVitals/falcon-card-scanner/ [ +152 ms] Generating /Users/nateshmbhat/Desktop/falcon-mobile/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +55 ms] executing: /usr/bin/xcodebuild -version [ +10 ms] Exit code 1 from: /usr/bin/xcodebuild -version [ ] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance [ +18 ms] ro.hardware = qcom [ +235 ms] Starting incremental build... [ +21 ms] Initializing file store [ +31 ms] Skipping target: gen_localizations [ +15 ms] complete [ +28 ms] Launching lib/main.dart on GM1901 in debug mode... [ +17 ms] /Users/nateshmbhat/Apps/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev --old_gen_heap_size=2000 /Users/nateshmbhat/Apps/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/nateshmbhat/Apps/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names -Ddart.developer.causal_async_stacks=true -Dflutter.inspector.structuredErrors=true --output-dill /var/folders/wc/b2tvd3cd5dg1xydcfn3x3xgh0000gn/T/flutter_tools.zsW1dc/flutter_tool.1uj4yP/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 --initialize-from-dill build/cache.dill.track.dill [ +36 ms] executing: /Users/nateshmbhat/Library/Android/sdk/build-tools/29.0.3/aapt dump xmltree /Users/nateshmbhat/Desktop/falcon-mobile/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +52 ms] Exit code 0 from: /Users/nateshmbhat/Library/Android/sdk/build-tools/29.0.3/aapt dump xmltree /Users/nateshmbhat/Desktop/falcon-mobile/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +8 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.nuclei.falcon" (Raw: "com.nuclei.falcon") 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=22) A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA") E: uses-permission (line=23) A: android:name(0x01010003)="android.permission.ACCESS_FINE_LOCATION" (Raw: "android.permission.ACCESS_FINE_LOCATION") E: uses-permission (line=24) A: android:name(0x01010003)="android.permission.READ_CONTACTS" (Raw: "android.permission.READ_CONTACTS") E: uses-permission (line=25) A: android:name(0x01010003)="android.permission.CALL_PHONE" (Raw: "android.permission.CALL_PHONE") E: uses-permission (line=26) A: android:name(0x01010003)="android.permission.READ_CALENDAR" (Raw: "android.permission.READ_CALENDAR") E: uses-permission (line=27) A: android:name(0x01010003)="android.permission.READ_SMS" (Raw: "android.permission.READ_SMS") E: uses-permission (line=28) A: android:name(0x01010003)="android.permission.USE_FINGERPRINT" (Raw: "android.permission.USE_FINGERPRINT") E: uses-feature (line=30) A: android:name(0x01010003)="android.hardware.camera.any" (Raw: "android.hardware.camera.any") E: uses-permission (line=32) A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE") E: uses-permission (line=33) A: android:name(0x01010003)="android.permission.ACCESS_WIFI_STATE" (Raw: "android.permission.ACCESS_WIFI_STATE") E: uses-permission (line=34) A: android:name(0x01010003)="android.permission.USE_BIOMETRIC" (Raw: "android.permission.USE_BIOMETRIC") E: application (line=36) A: android:label(0x01010001)="Falcon" (Raw: "Falcon") 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=42) A: android:theme(0x01010000)=@0x7f0d00a3 A: android:name(0x01010003)="com.nuclei.falcon.MainActivity" (Raw: "com.nuclei.falcon.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=56) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0d00a4 E: meta-data (line=66) A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable") A: android:resource(0x01010025)=@0x7f0600ee E: intent-filter (line=70) E: action (line=71) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=73) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=80) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: meta-data (line=83) A: android:name(0x01010003)="com.google.mlkit.vision.DEPENDENCIES" (Raw: "com.google.mlkit.vision.DEPENDENCIES") A: android:value(0x01010024)="ocr" (Raw: "ocr") E: activity (line=87) A: android:theme(0x01010000)=@0x7f0d00f8 A: android:name(0x01010003)="com.nateshmbhat.card_scanner.CardScannerCameraActivity" (Raw: "com.nateshmbhat.card_scanner.CardScannerCameraActivity") A: android:screenOrientation(0x0101001e)=(type 0x10)0x1 E: activity (line=92) A: android:theme(0x01010000)=@0x01030007 A: android:name(0x01010003)="io.flutter.plugins.urllauncher.WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.WebViewActivity") A: android:exported(0x01010010)=(type 0x12)0x0 E: activity (line=96) A: android:theme(0x01010000)=@0x7f0d00a2 A: android:name(0x01010003)="androidx.biometric.DeviceCredentialHandlerActivity" (Raw: "androidx.biometric.DeviceCredentialHandlerActivity") E: service (line=100) A: android:name(0x01010003)="com.google.mlkit.common.internal.MlKitComponentDiscoveryService" (Raw: "com.google.mlkit.common.internal.MlKitComponentDiscoveryService") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff E: meta-data (line=104) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.vision.text.internal.TextRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.vision.text.internal.TextRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=107) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.vision.common.internal.VisionCommonRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.vision.common.internal.VisionCommonRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=110) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.common.internal.CommonComponentRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.common.internal.CommonComponentRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: provider (line=115) A: android:name(0x01010003)="com.google.mlkit.common.internal.MlKitInitProvider" (Raw: "com.google.mlkit.common.internal.MlKitInitProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.nuclei.falcon.mlkitinitprovider" (Raw: "com.nuclei.falcon.mlkitinitprovider") A: android:initOrder(0x0101001a)=(type 0x10)0x63 E: activity (line=121) A: android:theme(0x01010000)=@0x01030010 A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity" (Raw: "com.google.android.gms.common.api.GoogleApiActivity") A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=126) A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version") A: android:value(0x01010024)=@0x7f080004 E: service (line=130) A: android:name(0x01010003)="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery" (Raw: "com.google.android.datatransport.runtime.backends.TransportBackendDiscovery") A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=133) A: android:name(0x01010003)="backend:com.google.android.datatransport.cct.CctBackendFactory" (Raw: "backend:com.google.android.datatransport.cct.CctBackendFactory") A: android:value(0x01010024)="cct" (Raw: "cct") E: service (line=137) A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" (Raw: "com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService") A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE") A: android:exported(0x01010010)=(type 0x12)0x0 E: receiver (line=143) A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver" (Raw: "com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver") A: android:exported(0x01010010)=(type 0x12)0x0 [ +56 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 shell -x logcat -v time -t 1 [ +310 ms] Exit code 0 from: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 shell -x logcat -v time -t 1 [ +3 ms] --------- beginning of main 08-05 14:42:34.181 D/KeyguardUpdateMonitor( 2195): received broadcast android.intent.action.BATTERY_CHANGED [ +87 ms] <- compile package:falcon/main.dart [ +186 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb version [ +185 ms] Android Debug Bridge version 1.0.41 Version 30.0.2-6538114 Installed as /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb [ +34 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb start-server [ +31 ms] Building APK Running Gradle task 'assembleDebug'... [ +286 ms] gradle.properties already sets `android.enableR8` [ +18 ms] Using gradle from /Users/nateshmbhat/Desktop/falcon-mobile/android/gradlew. [ +2 ms] /Users/nateshmbhat/Desktop/falcon-mobile/android/gradlew mode: 33261 rwxr-xr-x. [ +35 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [ +24 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\/Contents\/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+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.0","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","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-193.6911.18.40.6514223","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,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.0","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"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"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 4.0, build AI-193.6911.18.40.6514223. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."} [ +9 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ +165 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ +1 ms] openjdk version "1.8.0_242-release" OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode) [ +4 ms] executing: [/Users/nateshmbhat/Desktop/falcon-mobile/android/] /Users/nateshmbhat/Desktop/falcon-mobile/android/gradlew -q -Ptarget-platform=android-arm64 -Ptarget=/Users/nateshmbhat/Desktop/falcon-mobile/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Pdart-defines=flutter.inspector.structuredErrors%3Dtrue assembleDebug [+3676 ms] Plugin project :connectivity_macos not found. Please update settings.gradle. [+31777 ms] calculateSha: LocalDirectory: '/Users/nateshmbhat/Desktop/falcon-mobile/build/app/outputs/flutter-apk'/app.apk [ +81 ms] calculateSha: reading file took 80us [ +853 ms] calculateSha: computing sha took 852us [ +6 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk. [ +10 ms] executing: /Users/nateshmbhat/Library/Android/sdk/build-tools/29.0.3/aapt dump xmltree /Users/nateshmbhat/Desktop/falcon-mobile/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [ +19 ms] Exit code 0 from: /Users/nateshmbhat/Library/Android/sdk/build-tools/29.0.3/aapt dump xmltree /Users/nateshmbhat/Desktop/falcon-mobile/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.nuclei.falcon" (Raw: "com.nuclei.falcon") 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=22) A: android:name(0x01010003)="android.permission.CAMERA" (Raw: "android.permission.CAMERA") E: uses-permission (line=23) A: android:name(0x01010003)="android.permission.ACCESS_FINE_LOCATION" (Raw: "android.permission.ACCESS_FINE_LOCATION") E: uses-permission (line=24) A: android:name(0x01010003)="android.permission.READ_CONTACTS" (Raw: "android.permission.READ_CONTACTS") E: uses-permission (line=25) A: android:name(0x01010003)="android.permission.CALL_PHONE" (Raw: "android.permission.CALL_PHONE") E: uses-permission (line=26) A: android:name(0x01010003)="android.permission.READ_CALENDAR" (Raw: "android.permission.READ_CALENDAR") E: uses-permission (line=27) A: android:name(0x01010003)="android.permission.READ_SMS" (Raw: "android.permission.READ_SMS") E: uses-permission (line=28) A: android:name(0x01010003)="android.permission.USE_FINGERPRINT" (Raw: "android.permission.USE_FINGERPRINT") E: uses-feature (line=30) A: android:name(0x01010003)="android.hardware.camera.any" (Raw: "android.hardware.camera.any") E: uses-permission (line=32) A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE") E: uses-permission (line=33) A: android:name(0x01010003)="android.permission.ACCESS_WIFI_STATE" (Raw: "android.permission.ACCESS_WIFI_STATE") E: uses-permission (line=34) A: android:name(0x01010003)="android.permission.USE_BIOMETRIC" (Raw: "android.permission.USE_BIOMETRIC") E: application (line=36) A: android:label(0x01010001)="Falcon" (Raw: "Falcon") 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=42) A: android:theme(0x01010000)=@0x7f0d00a3 A: android:name(0x01010003)="com.nuclei.falcon.MainActivity" (Raw: "com.nuclei.falcon.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=56) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0d00a4 E: meta-data (line=66) A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable") A: android:resource(0x01010025)=@0x7f0600ee E: intent-filter (line=70) E: action (line=71) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=73) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=80) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: meta-data (line=83) A: android:name(0x01010003)="com.google.mlkit.vision.DEPENDENCIES" (Raw: "com.google.mlkit.vision.DEPENDENCIES") A: android:value(0x01010024)="ocr" (Raw: "ocr") E: activity (line=87) A: android:theme(0x01010000)=@0x7f0d00f8 A: android:name(0x01010003)="com.nateshmbhat.card_scanner.CardScannerCameraActivity" (Raw: "com.nateshmbhat.card_scanner.CardScannerCameraActivity") A: android:screenOrientation(0x0101001e)=(type 0x10)0x1 E: activity (line=92) A: android:theme(0x01010000)=@0x01030007 A: android:name(0x01010003)="io.flutter.plugins.urllauncher.WebViewActivity" (Raw: "io.flutter.plugins.urllauncher.WebViewActivity") A: android:exported(0x01010010)=(type 0x12)0x0 E: activity (line=96) A: android:theme(0x01010000)=@0x7f0d00a2 A: android:name(0x01010003)="androidx.biometric.DeviceCredentialHandlerActivity" (Raw: "androidx.biometric.DeviceCredentialHandlerActivity") E: service (line=100) A: android:name(0x01010003)="com.google.mlkit.common.internal.MlKitComponentDiscoveryService" (Raw: "com.google.mlkit.common.internal.MlKitComponentDiscoveryService") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff E: meta-data (line=104) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.vision.text.internal.TextRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.vision.text.internal.TextRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=107) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.vision.common.internal.VisionCommonRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.vision.common.internal.VisionCommonRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=110) A: android:name(0x01010003)="com.google.firebase.components:com.google.mlkit.common.internal.CommonComponentRegistrar" (Raw: "com.google.firebase.components:com.google.mlkit.common.internal.CommonComponentRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: provider (line=115) A: android:name(0x01010003)="com.google.mlkit.common.internal.MlKitInitProvider" (Raw: "com.google.mlkit.common.internal.MlKitInitProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.nuclei.falcon.mlkitinitprovider" (Raw: "com.nuclei.falcon.mlkitinitprovider") A: android:initOrder(0x0101001a)=(type 0x10)0x63 E: activity (line=121) A: android:theme(0x01010000)=@0x01030010 A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity" (Raw: "com.google.android.gms.common.api.GoogleApiActivity") A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=126) A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version") A: android:value(0x01010024)=@0x7f080004 E: service (line=130) A: android:name(0x01010003)="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery" (Raw: "com.google.android.datatransport.runtime.backends.TransportBackendDiscovery") A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=133) A: android:name(0x01010003)="backend:com.google.android.datatransport.cct.CctBackendFactory" (Raw: "backend:com.google.android.datatransport.cct.CctBackendFactory") A: android:value(0x01010024)="cct" (Raw: "cct") E: service (line=137) A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" (Raw: "com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService") A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE") A: android:exported(0x01010010)=(type 0x12)0x0 E: receiver (line=143) A: android:name(0x01010003)="com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver" (Raw: "com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver") A: android:exported(0x01010010)=(type 0x12)0x0 [ +5 ms] Stopping app 'app.apk' on GM1901. [ +1 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 shell am force-stop com.nuclei.falcon [ +245 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 shell pm list packages com.nuclei.falcon [ +108 ms] package:com.nuclei.falcon [ +5 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 shell cat /data/local/tmp/sky.com.nuclei.falcon.sha1 [ +82 ms] fd740c357d9fdf05e336b5a7c4f91adc628be1f8 [ +1 ms] Installing APK. [ +2 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb version [ +9 ms] Android Debug Bridge version 1.0.41 Version 30.0.2-6538114 Installed as /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb [ +1 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb start-server [ +12 ms] Installing build/app/outputs/flutter-apk/app.apk... [ +7 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 install -t -r /Users/nateshmbhat/Desktop/falcon-mobile/build/app/outputs/flutter-apk/app.apk [+18577 ms] Performing Streamed Install Success [ +12 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 18.6s) [ +1 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 shell echo -n 7ad5da1dce329cbc44eb1988a2b07416e16e7514 > /data/local/tmp/sky.com.nuclei.falcon.sha1 [ +49 ms] GM1901 startApp [ +4 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 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 --ez start-paused true com.nuclei.falcon/com.nuclei.falcon.MainActivity [ +84 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.nuclei.falcon/.MainActivity (has extras) } [ ] Waiting for observatory port to be available... [+1848 ms] Observatory URL on device: http://127.0.0.1:43497/HpDBWunY2qo=/ [ +1 ms] executing: /Users/nateshmbhat/Library/Android/sdk/platform-tools/adb -s 192.168.0.107:5555 forward tcp:0 tcp:43497 [ +8 ms] 52418 [ ] Forwarded host port 52418 to device port 43497 for Observatory [ +14 ms] Connecting to service protocol: http://127.0.0.1:52418/HpDBWunY2qo=/ [ +491 ms] Successfully connected to service protocol: http://127.0.0.1:52418/HpDBWunY2qo=/ Waiting for GM1901 to report its views... [ +41 ms] DevFS: Creating new filesystem on the device (null) [ +62 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.nuclei.falcon/code_cache/falcon-mobileCKYXAE/falcon-mobile/) [ +4 ms] Updating assets Debug service listening on ws://127.0.0.1:52418/HpDBWunY2qo=/ws Syncing files to device GM1901... [ +312 ms] Scanning asset files [ +5 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ +1 ms] <- recompile package:falcon/main.dart bd33a266-09ba-40d0-a473-3727190dae21 [ ] <- bd33a266-09ba-40d0-a473-3727190dae21 [ +130 ms] Updating files [ +677 ms] DevFS: Sync finished [ +1 ms] Synced 1.7MB. [ +1 ms] <- accept [ +13 ms] Connected to _flutterView/0x7cd53d8020. [+30059 ms] I/flutter (29844): [38;5;12m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m [ ] I/flutter (29844): [38;5;12m│ #0 FalconNavigatorObserver.didPush (package:core/router/route_observer/route_observer.dart:8:17) [ ] I/flutter (29844): [38;5;12m│ #1 _RouteEntry.didAdd (package:flutter/src/widgets/navigator.dart:2423:16) [ ] I/flutter (29844): [38;5;12m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄[0m [ ] I/flutter (29844): [38;5;12m│ 💡 -> Pushing route : /[0m [ +1 ms] I/flutter (29844): [38;5;12m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[0m ```