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

"print" cut off my logs. #110236

Closed
623637646 opened this issue Aug 25, 2022 · 4 comments
Closed

"print" cut off my logs. #110236

623637646 opened this issue Aug 25, 2022 · 4 comments
Labels
found in release: 3.0 Found to occur in 3.0 found in release: 3.1 Found to occur in 3.1 has reproducible steps The issue has been confirmed reproducible and is ready to work on r: solved Issue is closed as solved tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@623637646
Copy link

Steps to Reproduce

Execute flutter run on the code sample

Expected results:
The console prints my complete logs.

Actual results:
The console only prints a portion of my logs.

It's good with API "debugPrint".
I only try on an Android emulator.

Code sample
import 'package:flutter/foundation.dart';

void main() {
  if (kDebugMode) {
    print("""
┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────3───────────────────────────────────────────────────────────────────────────────────────────────────────
[LOG] | 0:14:30 55ms | 123123123131232131231231231231231231231231231231123123123131232131231231231231231231231
""");
  }
}

Logs
wangyy@WWP663YXG5 FlutterTest % flutter run --verbose
[  +41 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[   +3 ms] executing: [/Users/wangyy/.flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +15 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] executing: [/Users/wangyy/.flutter/] git tag --points-at f1875d570e39de09040c8f79aa13cc56baab8db1
[  +40 ms] Exit code 0 from: git tag --points-at f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] 3.0.5
[   +4 ms] executing: [/Users/wangyy/.flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/wangyy/.flutter/] git ls-remote --get-url origin
[  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +52 ms] executing: [/Users/wangyy/.flutter/] git rev-parse --abbrev-ref HEAD
[  +17 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +1 ms] Failed to initialize analytics reporting: FileSystemException: Cannot create file, path = '/Users/wangyy/.flutter' (OS Error: Is a directory, errno = 21)
[  +23 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +31 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb devices -l
[   +8 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +129 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[   +1 ms] Xcode 13.4.1
           Build version 13F100
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[   +1 ms] /usr/bin/arch -arm64e xcrun simctl list --json devices
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list --json devices
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun simctl list
[  +87 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun simctl list
[        ] == Device Types ==
           iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
           iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
           iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
           iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
           iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
           iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
           iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
           iPhone SE (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE)
           iPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7)
           iPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus)
           iPhone 8 (com.apple.CoreSimulator.SimDeviceType.iPhone-8)
           iPhone 8 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus)
           iPhone X (com.apple.CoreSimulator.SimDeviceType.iPhone-X)
           iPhone Xs (com.apple.CoreSimulator.SimDeviceType.iPhone-XS)
           iPhone Xs Max (com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max)
           iPhone Xʀ (com.apple.CoreSimulator.SimDeviceType.iPhone-XR)
           iPhone 11 (com.apple.CoreSimulator.SimDeviceType.iPhone-11)
           iPhone 11 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro)
           iPhone 11 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max)
           iPhone SE (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-)
           iPhone 12 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini)
           iPhone 12 (com.apple.CoreSimulator.SimDeviceType.iPhone-12)
           iPhone 12 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro)
           iPhone 12 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max)
           iPhone 13 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro)
           iPhone 13 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max)
           iPhone 13 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-13-mini)
           iPhone 13 (com.apple.CoreSimulator.SimDeviceType.iPhone-13)
           iPhone SE (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation)
           iPod touch (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPod-touch--7th-generation-)
           iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
           iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
           iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
           iPad mini 2 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-2)
           iPad mini 3 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-3)
           iPad mini 4 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-4)
           iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
           iPad Pro (9.7-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-)
           iPad Pro (12.9-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
           iPad (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-)
           iPad Pro (12.9-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-)
           iPad Pro (10.5-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-)
           iPad (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-)
           iPad (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-)
           iPad Pro (11-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-)
           iPad Pro (12.9-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-)
           iPad Pro (11-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-)
           iPad Pro (12.9-inch) (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-)
           iPad mini (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini--5th-generation-)
           iPad Air (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-)
           iPad (8th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-)
           iPad (9th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation)
           iPad Air (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-)
           iPad Pro (11-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation)
           iPad Pro (12.9-inch) (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation)
           iPad Air (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air-5th-generation)
           iPad mini (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation)
           Apple TV (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
           Apple TV 4K (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K)
           Apple TV 4K (at 1080p) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p)
           Apple TV 4K (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-4K)
           Apple TV 4K (at 1080p) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-1080p)
           Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
           Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
           Apple Watch Series 2 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm)
           Apple Watch Series 2 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm)
           Apple Watch Series 3 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm)
           Apple Watch Series 3 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm)
           Apple Watch Series 4 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm)
           Apple Watch Series 4 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm)
           Apple Watch Series 5 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm)
           Apple Watch Series 5 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm)
           Apple Watch SE - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-40mm)
           Apple Watch SE - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm)
           Apple Watch Series 6 - 40mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm)
           Apple Watch Series 6 - 44mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm)
           Apple Watch Series 7 - 41mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-41mm)
           Apple Watch Series 7 - 45mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-45mm)
           == Runtimes ==
           iOS 15.5 (15.5 - 19F70) - com.apple.CoreSimulator.SimRuntime.iOS-15-5
           tvOS 15.4 (15.4 - 19L439) - com.apple.CoreSimulator.SimRuntime.tvOS-15-4
           watchOS 8.5 (8.5 - 19T241) - com.apple.CoreSimulator.SimRuntime.watchOS-8-5
           == Devices ==
           -- iOS 15.5 --
               iPhone 8 (B317CE7A-B261-4CE8-A8F5-0D73C4B3E87C) (Shutdown) 
               iPhone 8 Plus (70170191-4DE3-4BA1-8262-41F1FE0354A5) (Shutdown) 
               iPhone 11 (5FD185CE-4D0A-48F8-80F7-C99849A6BB48) (Shutdown) 
               iPhone 11 Pro (89A4C556-36E7-4AE1-B974-8105FB44C80B) (Shutdown) 
               iPhone 11 Pro Max (838CC969-1C1E-4B30-B7AF-F78B01DB5719) (Shutdown) 
               iPhone 12 mini (42CA661F-895A-48BA-9695-8429CA346F34) (Shutdown) 
               iPhone 12 (98CB7BB1-23B7-43DC-8038-AE573CA967B6) (Shutdown) 
               iPhone 12 Pro (7A28D680-3921-49D0-ADCB-72F790D5E470) (Shutdown) 
               iPhone 12 Pro Max (75C43D80-BA89-4B0D-AFB6-3CC3458BF4A6) (Shutdown) 
               iPhone 13 Pro (6E2A1E26-232D-4B77-BB85-007F016D18B3) (Booted) 
               iPhone 13 Pro Max (EB6406E0-49B7-466A-A326-66BE13D46893) (Shutdown) 
               iPhone 13 mini (DD2B0DE0-DB5A-476C-856A-E3AA0AE48E74) (Shutdown) 
               iPhone 13 (E24D2D95-930A-42C4-AB29-5924EAF8FDE4) (Shutdown) 
               iPhone SE (3rd generation) (B49AD23E-BA7A-4729-B357-A14970F861E3) (Shutdown) 
               iPod touch (7th generation) (F6D0453C-73C1-4FD2-B0FE-C644E52967AB) (Shutdown) 
               iPad Pro (9.7-inch) (CA85A305-FEE5-481B-95F4-30A71368661A) (Shutdown) 
               iPad (9th generation) (BFED4B50-C1A4-43DA-A305-B7049D3F27A9) (Shutdown) 
               iPad Pro (11-inch) (3rd generation) (5B35C315-2F07-4D76-AAA5-DBDFC736CBA7) (Shutdown) 
               iPad Pro (12.9-inch) (5th generation) (51974327-E159-4BA0-9F42-035331441C6F) (Shutdown) 
               iPad Air (5th generation) (F29FBDD9-4A9F-46EA-AB45-2B8D04C317A2) (Shutdown) 
               iPad mini (6th generation) (5B92E549-1304-4FE5-83BF-E346F69F9477) (Shutdown) 
           -- tvOS 15.4 --
               Apple TV (8C87C74B-954E-4729-AC77-E6E17E0250F3) (Shutdown) 
               Apple TV 4K (2nd generation) (283D65D2-7AA3-4C3E-957F-B9C16E3FF525) (Shutdown) 
               Apple TV 4K (at 1080p) (2nd generation) (70BB684B-9BBB-4C45-8CA9-AD97283D01AE) (Shutdown) 
           -- watchOS 8.5 --
               Apple Watch Series 5 - 40mm (F38809E3-AA34-4AF3-ABA1-581AA015F066) (Shutdown) 
               Apple Watch Series 5 - 44mm (03930F1E-F531-4216-8310-1BAD139640B7) (Shutdown) 
               Apple Watch Series 6 - 40mm (B56B1BF5-EEB8-468D-B2B5-079F8BD5E3FC) (Shutdown) 
               Apple Watch Series 6 - 44mm (BB21472A-5084-4848-AC31-8A1523AC79E2) (Shutdown) 
               Apple Watch Series 7 - 41mm (11EC2748-EB57-464A-87A7-8AD19F098075) (Shutdown) 
               Apple Watch Series 7 - 45mm (84FD6AC3-8C2B-4D97-BA87-ED9345795DB6) (Shutdown) 
           == Device Pairs ==
           67B97217-4212-4C4C-B464-D053CDB19D8E (active, disconnected)
               Watch: Apple Watch Series 5 - 40mm (F38809E3-AA34-4AF3-ABA1-581AA015F066) (Shutdown)
               Phone: iPhone 12 Pro (7A28D680-3921-49D0-ADCB-72F790D5E470) (Shutdown)
           ADC84771-DF04-4B93-8BCE-7B4C1DE2D9E6 (active, disconnected)
               Watch: Apple Watch Series 5 - 44mm (03930F1E-F531-4216-8310-1BAD139640B7) (Shutdown)
               Phone: iPhone 12 Pro Max (75C43D80-BA89-4B0D-AFB6-3CC3458BF4A6) (Shutdown)
           6B593EDE-AB57-4CD0-ACB3-540752FF838C (active, disconnected)
               Watch: Apple Watch Series 6 - 40mm (B56B1BF5-EEB8-468D-B2B5-079F8BD5E3FC) (Shutdown)
               Phone: iPhone 13 Pro (6E2A1E26-232D-4B77-BB85-007F016D18B3) (Booted)
           2D60C1D1-C64C-40B1-80A2-FF48AC588CCD (active, disconnected)
               Watch: Apple Watch Series 6 - 44mm (BB21472A-5084-4848-AC31-8A1523AC79E2) (Shutdown)
               Phone: iPhone 13 Pro Max (EB6406E0-49B7-466A-A326-66BE13D46893) (Shutdown)
           FBD1084D-771B-498A-A188-152271B20779 (active, disconnected)
               Watch: Apple Watch Series 7 - 41mm (11EC2748-EB57-464A-87A7-8AD19F098075) (Shutdown)
               Phone: iPhone 13 mini (DD2B0DE0-DB5A-476C-856A-E3AA0AE48E74) (Shutdown)
           964E5A4B-8752-4DBD-914C-C2117884BFFB (active, disconnected)
               Watch: Apple Watch Series 7 - 45mm (84FD6AC3-8C2B-4D97-BA87-ED9345795DB6) (Shutdown)
               Phone: iPhone 13 (E24D2D95-930A-42C4-AB29-5924EAF8FDE4) (Shutdown)
[  +23 ms] List of devices attached
           emulator-5554          device product:sdk_gphone64_arm64 model:sdk_gphone64_arm64 device:emu64a transport_id:2
[  +73 ms] {
             "devices" : {
               
                 {
                   "dataPath" : "\/Users\/wangyy\/Library\/Developer\/CoreSimulator\/Devices\/BFED4B50-C1A4-43DA-A305-B7049D3F27A9\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/wangyy\/Library\/Logs\/CoreSimulator\/BFED4B50-C1A4-43DA-A305-B7049D3F27A9",
                   "udid" : "BFED4B50-C1A4-43DA-A305-B7049D3F27A9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad (9th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/wangyy\/Library\/Developer\/CoreSimulator\/Devices\/5B35C315-2F07-4D76-AAA5-DBDFC736CBA7\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/wangyy\/Library\/Logs\/CoreSimulator\/5B35C315-2F07-4D76-AAA5-DBDFC736CBA7",
                   "udid" : "5B35C315-2F07-4D76-AAA5-DBDFC736CBA7",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (3rd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/wangyy\/Library\/Developer\/CoreSimulator\/Devices\/51974327-E159-4BA0-9F42-035331441C6F\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/wangyy\/Library\/Logs\/CoreSimulator\/51974327-E159-4BA0-9F42-035331441C6F",
                   "udid" : "51974327-E159-4BA0-9F42-035331441C6F",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (12.9-inch) (5th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/wangyy\/Library\/Developer\/CoreSimulator\/Devices\/F29FBDD9-4A9F-46EA-AB45-2B8D04C317A2\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/wangyy\/Library\/Logs\/CoreSimulator\/F29FBDD9-4A9F-46EA-AB45-2B8D04C317A2",
                   "udid" : "F29FBDD9-4A9F-46EA-AB45-2B8D04C317A2",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-5th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Air (5th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/wangyy\/Library\/Developer\/CoreSimulator\/Devices\/5B92E549-1304-4FE5-83BF-E346F69F9477\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/wangyy\/Library\/Logs\/CoreSimulator\/5B92E549-1304-4FE5-83BF-E346F69F9477",
                   "udid" : "5B92E549-1304-4FE5-83BF-E346F69F9477",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad mini (6th generation)"
                 }
               ]
             }
           }
[+2593 ms] [
                      
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "15.4 (19L439)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV11,1",
                        "identifier" : "283D65D2-7AA3-4C3E-957F-B9C16E3FF525",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.apple-tv-4k-2nd",
                        "modelName" : "Apple TV 4K (2nd generation)",
                        "name" : "Apple TV 4K (2nd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "15.5 (19F70)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad14,1",
                        "identifier" : "5B92E549-1304-4FE5-83BF-E346F69F9477",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.ipad-mini6-1",
                        "modelName" : "iPad mini (6th generation)",
                        "name" : "iPad mini (6th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "15.5 (19F70)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,5",
                        "identifier" : "70170191-4DE3-4BA1-8262-41F1FE0354A5",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.iphone-8-plus-2",
                        "modelName" : "iPhone 8 Plus",
                        "name" : "iPhone 8 Plus"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "8.5 (19T241)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "companionDevice" : {
                          "simulator" : true,
                          "operatingSystemVersion" : "15.5 (19F70)",
                          "available" : true,
                          "platform" : "com.apple.platform.iphonesimulator",
                          "modelCode" : "iPhone14,5",
                          "identifier" : "E24D2D95-930A-42C4-AB29-5924EAF8FDE4",
                          "architecture" : "arm64",
                          "modelUTI" : "com.apple.iphone-13-1",
                          "modelName" : "iPhone 13",
                          "name" : "iPhone 13"
                        },
                        "modelCode" : "Watch6,9",
                        "identifier" : "84FD6AC3-8C2B-4D97-BA87-ED9345795DB6",
                        "architecture" : "arm64",
                        "modelUTI" : "com.apple.watch-series7-1",
                        "modelName" : "Apple Watch Series 7 - 45mm",
                        "name" : "Apple Watch Series 7 - 45mm"
                      }
                    ]

                    objc[66847]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1fc78f808) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103b642c8). One of the two will be used. Which one is undefined.
                    objc[66847]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1fc78f858) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103b64318). One of the two will be used. Which one is undefined.
                    objc[66847]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x1fc78f620) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103b64598). One of the two will be used. Which one is undefined.
                    objc[66847]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1fc78f670) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103b645e8). One of the two will be used. Which one is undefined.
                    objc[66847]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1fc78f6c0) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103b64638). One of the two will be used. Which one is undefined.
                    objc[66847]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x1fc78f710) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103b64688). One of the two will be used. Which one is undefined.
                    objc[66847]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x1fc78f760) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103b646d8). One of the two will be used. Which one is undefined.
                    objc[66847]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x1fc78f7b0) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103b64728). One of the two will be used. Which one is undefined.
                    2022-08-25 11:31:46.109 xcdevice[66847:1140306] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension
                    Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
                    2022-08-25 11:31:46.110 xcdevice[66847:1140306] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
                    Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[  +11 ms] /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +48 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[   +1 ms] 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.
[  +31 ms] Multiple devices found:
[        ] ro.hardware = ranchu
[  +32 ms] sdk gphone64 arm64 (mobile)    • emulator-5554                            • android-arm64  • Android 13 (API 33) (emulator)
[        ] Yanni’s iPhone 8 plus (mobile) • 3be87361c4457fbc9a39b5fe73a980755cd94568 • ios            • iOS 14.4 18D52
[        ] iPhone 13 Pro (mobile)         • 6E2A1E26-232D-4B77-BB85-007F016D18B3     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
[        ] Chrome (web)                   • chrome                                   • web-javascript • Google Chrome 104.0.5112.101
[        ] [1]: sdk gphone64 arm64 (emulator-5554)
[        ] [2]: Yanni’s iPhone 8 plus (3be87361c4457fbc9a39b5fe73a980755cd94568)
[        ] [3]: iPhone 13 Pro (6E2A1E26-232D-4B77-BB85-007F016D18B3)
[        ] [4]: Chrome (chrome)
[        ] Please choose one (To quit, press "q/Q")
[        ] : 
[+1714 ms] 1
[  +29 ms] Skipping pub get: version match.
[  +31 ms] Generating /Users/wangyy/Documents/FlutterTest/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +21 ms] Using hardware rendering with device sdk gphone64 arm64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[   +9 ms] Initializing file store
[   +4 ms] Skipping target: gen_localizations
[   +3 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/Users/wangyy/Documents/FlutterTest/.dart_tool/package_config_subset}
[   +9 ms] gen_dart_plugin_registrant: Complete
[        ] Skipping target: _composite
[        ] complete
[   +2 ms] Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
[   +2 ms] /Users/wangyy/.flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/wangyy/.flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/Users/wangyy/.flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true
--output-dill /var/folders/tw/gvnblzjx2771gpj0vx2mhgym0000gq/T/flutter_tools.QazrF8/flutter_tool.hIRgrw/app.dill --packages /Users/wangyy/Documents/FlutterTest/.dart_tool/package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[   +4 ms] executing: /Users/wangyy/Library/Android/sdk/build-tools/33.0.0/aapt dump xmltree /Users/wangyy/Documents/FlutterTest/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +17 ms] Exit code 0 from: /Users/wangyy/Library/Android/sdk/build-tools/33.0.0/aapt dump xmltree /Users/wangyy/Documents/FlutterTest/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)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.test" (Raw: "com.example.test")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="test" (Raw: "test")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.test.MainActivity" (Raw: "com.example.test.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   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=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +2 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +4 ms] <- compile package:test/main.dart
[  +87 ms] --------- beginning of main
           08-25 00:42:08.223 D/WifiNative(  551): Scan result ready event
[   +6 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb version
[  +15 ms] Android Debug Bridge version 1.0.41
           Version 33.0.2-8557947
           Installed as /Users/wangyy/Library/Android/sdk/platform-tools/adb
[   +1 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb start-server
[  +17 ms] Building APK
[   +8 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] Using gradle from /Users/wangyy/Documents/FlutterTest/android/gradlew.
[  +51 ms] executing: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist
[   +9 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
           	<key>CFBundleDevelopmentRegion</key>
           	<string>English</string>
           	<key>CFBundleDocumentTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>ipr</string>
           			</array>
           			<key>CFBundleTypeIconFile</key>
           			<string>studio.icns</string>
           			<key>CFBundleTypeName</key>
           			<string>Android Studio Project File</string>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           		</dict>
           		<dict>
           			<key>CFBundleTypeExtensions</key>
           			<array>
           				<string>*</string>
           			</array>
           			<key>CFBundleTypeName</key>
           			<string>All documents</string>
           			<key>CFBundleTypeOSTypes</key>
           			<array>
           				<string>****</string>
           			</array>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>LSTypeIsPackage</key>
           			<false/>
           		</dict>
           	</array>
           	<key>CFBundleExecutable</key>
           	<string>studio</string>
           	<key>CFBundleGetInfoString</key>
           	<string>Android Studio 2021.2, build AI-212.5712.43.2112.8815526. Copyright JetBrains s.r.o., (c) 2000-2022</string>
           	<key>CFBundleIconFile</key>
           	<string>studio.icns</string>
           	<key>CFBundleIdentifier</key>
           	<string>com.google.android.studio</string>
           	<key>CFBundleInfoDictionaryVersion</key>
           	<string>6.0</string>
           	<key>CFBundleName</key>
           	<string>Android Studio</string>
           	<key>CFBundlePackageType</key>
           	<string>APPL</string>
           	<key>CFBundleShortVersionString</key>
           	<string>2021.2</string>
           	<key>CFBundleSignature</key>
           	<string>????</string>
           	<key>CFBundleURLTypes</key>
           	<array>
           		<dict>
           			<key>CFBundleTypeRole</key>
           			<string>Editor</string>
           			<key>CFBundleURLName</key>
           			<string>Stacktrace</string>
           			<key>CFBundleURLSchemes</key>
           			<array>
           				<string>idea</string>
           			</array>
           		</dict>
           	</array>
           	<key>CFBundleVersion</key>
           	<string>AI-212.5712.43.2112.8815526</string>
           	<key>JVMOptions</key>
           	<dict>
           		<key>ClassPath</key>
           		<string>$APP_PACKAGE/Contents/lib/bootstrap.jar:$APP_PACKAGE/Contents/lib/util.jar:$APP_PACKAGE/Contents/lib/jna.jar</string>
           		<key>JVMVersion</key>
           		<string>1.8*,1.8+</string>
           		<key>MainClass</key>
           		<string>com.intellij.idea.Main</string>
           		<key>Properties</key>
           		<dict>
           			<key>idea.executable</key>
           			<string>studio</string>
           			<key>idea.home.path</key>
           			<string>$APP_PACKAGE/Contents</string>
           			<key>idea.jre.check</key>
           			<string>true</string>
           			<key>idea.paths.selector</key>
           			<string>AndroidStudio2021.2</string>
           			<key>idea.platform.prefix</key>
           			<string>AndroidStudio</string>
           			<key>idea.vendor.name</key>
           			<string>Google</string>
           			<key>java.system.class.loader</key>
           			<string>com.intellij.util.lang.PathClassLoader</string>
           			<key>splash</key>
           			<string>true</string>
           		</dict>
           	</dict>
           	<key>LSApplicationCategoryType</key>
           	<string>public.app-category.developer-tools</string>
           	<key>LSArchitecturePriority</key>
           	<array>
           		<string>arm64</string>
           		<string>x86_64</string>
           	</array>
           	<key>LSMinimumSystemVersion</key>
           	<string>10.8</string>
           	<key>LSRequiresNativeExecution</key>
           	<string>YES</string>
           	<key>NSBluetoothAlwaysUsageDescription</key>
           	<string>An application in Android Studio requests access to Bluetooth.</string>
           	<key>NSCameraUsageDescription</key>
           	<string>An application in Android Studio requests access to the device's camera.</string>
           	<key>NSDesktopFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Desktop folder.</string>
           	<key>NSDocumentsFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Documents folder.</string>
           	<key>NSDownloadsFolderUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's Downloads folder.</string>
           	<key>NSHighResolutionCapable</key>
           	<true/>
           	<key>NSLocationUsageDescription</key>
           	<string>An application in Android Studio requests access to the user's location information.</string>
           	<key>NSMicrophoneUsageDescription</key>
           	<string>An application in Android Studio requests access to the device's microphone.</string>
           	<key>NSNetworkVolumesUsageDescription</key>
           	<string>An application in Android Studio requests access to files on a network volume.</string>
           	<key>NSRemovableVolumesUsageDescription</key>
           	<string>An application in Android Studio requests access to files on a removable volume.</string>
           	<key>NSSupportsAutomaticGraphicsSwitching</key>
           	<true/>
           </dict>
           </plist>
[   +6 ms] executing: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java -version
[  +71 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java -version
[        ] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+0-b1504.28-7817840, mixed mode)
[   +1 ms] executing: [/Users/wangyy/Documents/FlutterTest/android/] /Users/wangyy/Documents/FlutterTest/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=/Users/wangyy/Documents/FlutterTest/lib/main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +593 ms] Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
[        ] Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
[        ] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
[        ] Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
[+1496 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +43 ms] executing: sysctl hw.optional.arm64
[        ] [   +9 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] [        ] hw.optional.arm64: 1
[        ] [   +2 ms] executing: [/Users/wangyy/.flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +14 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] [        ] executing: [/Users/wangyy/.flutter/] git tag --points-at f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] [  +18 ms] Exit code 0 from: git tag --points-at f1875d570e39de09040c8f79aa13cc56baab8db1
[        ] [        ] 3.0.5
[        ] [   +3 ms] executing: [/Users/wangyy/.flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/Users/wangyy/.flutter/] git ls-remote --get-url origin
[        ] [  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +24 ms] executing: [/Users/wangyy/.flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [   +2 ms] Failed to initialize analytics reporting: FileSystemException: Cannot create file, path = '/Users/wangyy/.flutter' (OS Error: Is a directory, errno = 21)
[        ] [  +18 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +38 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +11 ms] Initializing file store
[        ] [   +2 ms] Done initializing file store
[        ] [  +13 ms] Skipping target: gen_localizations
[        ] [   +7 ms] Skipping target: gen_dart_plugin_registrant
[        ] [  +49 ms] kernel_snapshot: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/wangyy/Documents/FlutterTest/lib/main.dart}
[        ] [   +4 ms] /Users/wangyy/.flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/wangyy/.flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/Users/wangyy/.flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /Users/wangyy/Documents/FlutterTest/.dart_tool/package_config.json --output-dill
/Users/wangyy/Documents/FlutterTest/.dart_tool/flutter_build/4bf7be4965b33a1d4a89bc6a30ad9a05/app.dill --depfile
/Users/wangyy/Documents/FlutterTest/.dart_tool/flutter_build/4bf7be4965b33a1d4a89bc6a30ad9a05/kernel_snapshot.d package:test/main.dart
[        ] [ +551 ms] kernel_snapshot: Complete
[        ] [ +155 ms] debug_android_application: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/Users/wangyy/Documents/FlutterTest/.dart_tool/flutter_build/4bf7be4965b33a1d4a89bc6a30ad9a05/app.dill}
[        ] [  +76 ms] debug_android_application: Complete
[        ] [  +91 ms] Persisting file store
[        ] [   +1 ms] Done persisting file store
[        ] [   +1 ms] build succeeded.
[        ] [   +4 ms] "flutter assemble" took 1,020ms.
[        ] [   +1 ms] ensureAnalyticsSent: 0ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[  +95 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[  +94 ms] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[ +100 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[  +97 ms] > Task :app:compressDebugAssets
[ +400 ms] > Task :app:packageDebug
[  +31 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 2s
[        ] 32 actionable tasks: 7 executed, 25 up-to-date
[ +405 ms] Running Gradle task 'assembleDebug'... (completed in 3.5s)
[  +37 ms] calculateSha: LocalDirectory: '/Users/wangyy/Documents/FlutterTest/build/app/outputs/flutter-apk'/app.apk
[ +442 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +1 ms] executing: /Users/wangyy/Library/Android/sdk/build-tools/33.0.0/aapt dump xmltree /Users/wangyy/Documents/FlutterTest/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +14 ms] Exit code 0 from: /Users/wangyy/Library/Android/sdk/build-tools/33.0.0/aapt dump xmltree /Users/wangyy/Documents/FlutterTest/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)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.test" (Raw: "com.example.test")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="test" (Raw: "test")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.test.MainActivity" (Raw: "com.example.test.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   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=37)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=41)
                     E: action (line=42)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=44)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=51)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=55)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=58)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[        ] Stopping app 'app.apk' on sdk gphone64 arm64.
[        ] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.test
[ +123 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.test
[  +52 ms] package:com.example.test
[   +4 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.test.sha1
[  +42 ms] c285a329e691bf94ec3258ee376e9f6e1f18c364
[        ] Installing APK.
[        ] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -t -r /Users/wangyy/Documents/FlutterTest/build/app/outputs/flutter-apk/app.apk
[ +617 ms] Performing Streamed Install
                    Success
[   +2 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 618ms)
[   +1 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell echo -n a45c041540acc400f67e878abb0869549325ce91 > /data/local/tmp/sky.com.example.test.sha1
[  +28 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +70 ms] --------- beginning of main
           08-25 00:42:28.576 D/CarrierSvcBindHelper( 1043): No carrier app for: 0
[   +6 ms] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true com.example.test/com.example.test.MainActivity
[  +58 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.test/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +413 ms] Observatory URL on device: http://127.0.0.1:39393/KayICwYPpME=/
[        ] executing: /Users/wangyy/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:39393
[  +16 ms] 62598
[        ] Forwarded host port 62598 to device port 39393 for Observatory
[   +3 ms] Caching compiled dill
[   +4 ms] Connecting to service protocol: http://127.0.0.1:62598/KayICwYPpME=/
[  +29 ms] I/flutter (27172): ┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
[        ] I/flutter (27172): ┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
[        ] I/flutter (27172): ┌───────3───────────────────────────────────────────────────────────────────────────────────────────────────────
[        ] I/flutter (27172): [LOG] | 0:14:30 55
[  +78 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:62598/KayICwYPpME=/.
[  +68 ms] DDS is listening at http://127.0.0.1:62601/e7hqH8Ko9_k=/.
[  +29 ms] Successfully connected to service protocol: http://127.0.0.1:62598/KayICwYPpME=/
[  +38 ms] DevFS: Creating new filesystem on the device (null)
[   +9 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.test/code_cache/FlutterTestSANMFD/FlutterTest/)
[   +2 ms] Updating assets
[  +38 ms] Syncing files to device sdk gphone64 arm64...
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:test/main.dart 5a2a6c71-9a4a-42bd-9d12-77bf415acfeb
[        ] <- 5a2a6c71-9a4a-42bd-9d12-77bf415acfeb
[        ] Bundle processing done.
[   +1 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device sdk gphone64 arm64... (completed in 4ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +9 ms] Connected to _flutterView/0xb4000070e4b575b0.
[   +1 ms] Flutter run key commands.
[        ] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on sdk gphone64 arm64 is available at: http://127.0.0.1:62601/e7hqH8Ko9_k=/



wangyy@WWP663YXG5 FlutterTest % flutter analyze
Analyzing FlutterTest...                                                
No issues found! (ran in 0.7s)

wangyy@WWP663YXG5 FlutterTest % flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5.1 21G83 darwin-arm, locale en-SG)
    • Flutter version 3.0.5 at /Users/wangyy/.flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (6 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/wangyy/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile)    • emulator-5554                            • android-arm64  • Android 13 (API 33) (emulator)
    • Yanni’s iPhone 8 plus (mobile) • 3be87361c4457fbc9a39b5fe73a980755cd94568 • ios            • iOS 14.4 18D52
    • iPhone 13 Pro (mobile)         • 6E2A1E26-232D-4B77-BB85-007F016D18B3     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)                • macos                                    • darwin-arm64   • macOS 12.5.1 21G83 darwin-arm
    • Chrome (web)                   • chrome                                   • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Screenshot 2022-08-25 at 11 34 39 AM

@Nitingadhiya
Copy link

Use "printLog" syntax instead of "print".

@huycozy huycozy added the in triage Presently being triaged by the triage team label Aug 25, 2022
@huycozy
Copy link
Member

huycozy commented Aug 25, 2022

Hi @623637646
This issue is reproducible on the latest stable and master channels.
It prints full logs as expected when running with Dart. With Flutter, the issue happens on Android and iOS platform.

print debugPrint
Android iOS Web MacOS

✅: No Issue ❌: Issue reproduced

Demo
  • Flutter Web:
┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────3───────────────────────────────────────────────────────────────────────────────────────────────────────
[LOG] | 0:14:30 55ms | 123123123131232131231231231231231231231231231231123123123131232131231231231231231231231
  • Flutter Android:
I/flutter (29231): ┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (29231): ┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (29231): ┌───────3───────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (29231): [LOG] | 0:14:30 55
  • Flutter iOS:
flutter: ┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────3─────────────────────────────────────────────────────────────────────────────────────────────────────<>
  • MacOS:
flutter: ┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────3───────────────────────────────────────────────────────────────────────────────────────────────────────
[LOG] | 0:14:30 55ms | 123123123131232131231231231231231231231231231231123123123131232131231231231231231231231
  • Dart run:
┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────3───────────────────────────────────────────────────────────────────────────────────────────────────────
[LOG] | 0:14:30 55ms | 123123123131232131231231231231231231231231231231123123123131232131231231231231231231231
Sample code
import 'package:flutter/foundation.dart';

void main() {
  if (kDebugMode) {
    print("""
┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────3───────────────────────────────────────────────────────────────────────────────────────────────────────
[LOG] | 0:14:30 55ms | 123123123131232131231231231231231231231231231231123123123131232131231231231231231231231
""");
  }
}
Sample code (running with Dart)
void main() {
  print("""
┌────1──────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────2─────────────────────────────────────────────────────────────────────────────────────────────────────────
┌───────3───────────────────────────────────────────────────────────────────────────────────────────────────────
[LOG] | 0:14:30 55ms | 123123123131232131231231231231231231231231231231123123123131232131231231231231231231231
""");
}
flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.0.5 at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (9 hours ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.69.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
[✓] Flutter (Channel master, 3.1.0-0.0.pre.2479, on macOS 12.5 21G72 darwin-x64, locale en-EE)
    • Flutter version 3.1.0-0.0.pre.2479 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5217f89dcf (31 minutes ago), 2022-08-24 20:27:42 -0700
    • Engine revision 4e89793ac3
    • Dart version 2.19.0 (build 2.19.0-135.0.dev)
    • DevTools version 2.16.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13E113
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

As the comment here, it seems that using debugPrint instead would be advisable.
Keeping this open for further insights/opinions from the team.

@huycozy huycozy added tool Affects the "flutter" command-line tool. See also t: labels. has reproducible steps The issue has been confirmed reproducible and is ready to work on found in release: 3.0 Found to occur in 3.0 found in release: 3.1 Found to occur in 3.1 and removed in triage Presently being triaged by the triage team labels Aug 25, 2022
@christopherfujino
Copy link
Member

Thank you for filing this bug! However, this is a known limitation of printing on android; the solution is to use debugPrint. Please see https://api.flutter.dev/flutter/foundation/DebugPrintCallback.html for more context.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2022
@huycozy huycozy added the r: solved Issue is closed as solved label Sep 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
found in release: 3.0 Found to occur in 3.0 found in release: 3.1 Found to occur in 3.1 has reproducible steps The issue has been confirmed reproducible and is ready to work on r: solved Issue is closed as solved tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

No branches or pull requests

4 participants