Flutter初体验
2020-04-14 本文已影响0人
zhenzhuangde
1.installl flutter
-
中文官网
选择windows平台,我选的zip的stable版本,解压到硬盘,将flutter/bin目录添加到path,并且添加环境变量PUB_HOSTED_URL=https://pub.flutter-io.cn FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn FLUTTER_ROOT=D:\Program Files\flutter //flutter安装目录 ANDROID_HOME=D:\Program Files\Android\SDK //Android sdk安装目录
- 运行
flutter docker -v
查看当前软件配置是否符合flutter开发的要求,全部调整正确后应显示如下:
应全为对号,我未安装Android studio,而是安装的intellij idea,同样可行,device项需要打开emulator才能显示为对号。E:\Flutter\flutterTest>flutter doctor -v [√] Flutter (Channel stable, v1.12.13+hotfix.9, on Microsoft Windows [Version 10.0.18363.720], locale zh-CN) • Flutter version 1.12.13+hotfix.9 at D:\ProgramFiles\flutter • Framework revision f139b11009 (13 days ago), 2020-03-30 13:57:30 -0700 • Engine revision af51afceb8 • Dart version 2.7.2 [√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at D:\ProgramFiles\Android\SDK • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.3 • ANDROID_HOME = D:\ProgramFiles\Android\SDK • Java binary at: D:\ProgramFiles\java\bin\java • Java version Java(TM) SE Runtime Environment (build 1.8.0_241-b07) • All Android licenses accepted. [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/setup/#android-setup for detailed instructions). [!] Connected device ! No devices available ! Doctor found issues in 2 categories.
- 需要处理的问题主要是Android toolchain,需要在sdkmanager中下载,如下图:
360截图.jpg
不勾选下面的选项,下载26.1.1这个sdk tools,完成后运行flutter doctor --android-licenses
,之后的提示全部选择y即可。 - idea需要安装两个插件,flutter和dart插件,有时候会搜索不到插件可以直接到官网下载然后本地安装,flutter插件 dart插件;如果使用的是vscode则到插件栏中下载flutter插件即可,此插件自动关联dart插件。
2.create flutter
- 使用命令或使用idea生成一个新的flutter项目
flutter create flt1
, 运行flutter pub get
命令将其中使用的库下载下来(有点像npm),如果下载不了则是上面的环境变量未设置正确。 - 运行
flutter clean
清除之前运行的缓存,再运行flutter emulators --launch 虚拟机名称
先将emulator运行起来,再运行命令flutter run -v
,如果遇到长时间没有变化则应该是gradle的库下载地址有问题,可以换成国内的镜像地址,将\flutter\packages\flutter_tools\gradle
下的flutter.gradle
文件依赖地址替换掉,如图:
360截图
生成的Android项目内的gradle依赖地址也需要替换。
3.以下是我在vscode内运行的结果,使用idea的运行未成功,命令行没问题:
E:\Flutter\flt0>flutter clean
Deleting build... 709ms
Deleting .dart_tool... 3ms
E:\Flutter\flt0>flutter emulators --launch Pixel_3a_XL_API_29
E:\Flutter\flt0>flutter run -v
[ +51 ms] executing: [D:\ProgramFiles\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +122 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +4 ms] f139b11009aeb8ed2a3a3aa8b0066e482709dde3
[ +1 ms] executing: [D:\ProgramFiles\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +76 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ +17 ms] v1.12.13+hotfix.9-0-gf139b1100
[ +18 ms] executing: [D:\ProgramFiles\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +108 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ +1 ms] executing: [D:\ProgramFiles\flutter\] git ls-remote --get-url origin
[ +78 ms] Exit code 0 from: git ls-remote --get-url origin
[ +10 ms] https://github.com/flutter/flutter.git
[ +149 ms] executing: [D:\ProgramFiles\flutter\] git rev-parse --abbrev-ref HEAD
[ +67 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] stable
[ +228 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe devices -l
[ +34 ms] Exit code 0 from: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe devices -l
[ +1 ms] List of devices attached
emulator-5554 device product:sdk_phone_x86_64 model:Android_SDK_built_for_x86_64 device:generic_x86_64 transport_id:3
[ +44 ms] D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell getprop
[ +111 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +9 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +32 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +2 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +8 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.
[ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +40 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +323 ms] Generating E:\Flutter\flt0\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +123 ms] ro.hardware = ranchu
[ +444 ms] Using hardware rendering with device Android SDK built for x86 64. If you get graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
[ +38 ms] Launching lib\main.dart on Android SDK built for x86 64 in debug mode...
[ +46 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ +108 ms] Exit code 0 from: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[ ] --------- beginning of main
04-12 13:07:47.521 W/android.os.Debug( 1829): failed to get memory consumption info: -1
[ +15 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe version
[ +36 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 logcat -v time -T 04-12 13:07:47.521
[ +54 ms] Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as D:\ProgramFiles\Android\SDK\platform-tools\adb.exe
[ +22 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe start-server
[ +98 ms] Building APK
[ +60 ms] Running Gradle task 'assembleDebug'...
[ +28 ms] gradle.properties already sets `android.enableR8`
[ +11 ms] Using gradle from E:\Flutter\flt0\android\gradlew.bat.
[ +69 ms] executing: [E:\Flutter\flt0\android\] E:\Flutter\flt0\android\gradlew.bat -Pverbose=true -Ptarget=E:\Flutter\flt0\lib\main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x64 assembleDebug
[+4919 ms] > Task :app:compileFlutterBuildDebug
[ +2 ms] [ +44 ms] executing: [D:\ProgramFiles\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +139 ms] [ +116 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +99 ms] [ +2 ms] f139b11009aeb8ed2a3a3aa8b0066e482709dde3
[ +70 ms] [ ] executing: [D:\ProgramFiles\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +80 ms] [ +62 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ +3 ms] [ ] v1.12.13+hotfix.9-0-gf139b1100
[ +63 ms] [ +13 ms] executing: [D:\ProgramFiles\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +2 ms] [ +53 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ +2 ms] [ ] origin/stable
[ +63 ms] [ ] executing: [D:\ProgramFiles\flutter\] git ls-remote --get-url origin
[ +66 ms] [ +47 ms] Exit code 0 from: git ls-remote --get-url origin
[ +60 ms] [ ] https://github.com/flutter/flutter.git
[ +5 ms] [ +118 ms] executing: [D:\ProgramFiles\flutter\] git rev-parse --abbrev-ref HEAD
[ +1 ms] [ +50 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] [ ] stable
[ +6 ms] [ +39 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +61 ms] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +56 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +1 ms] [ +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +4 ms] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +71 ms] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] [ +170 ms] Initializing file store
[ +1 ms] [ +33 ms] kernel_snapshot: Starting due to {}
[ +1 ms] [ +30 ms] D:\ProgramFiles\flutter\bin\cache\dart-sdk\bin\dart.exe
D:\ProgramFiles\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\ProgramFiles\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false
-Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --no-link-platform --packages E:\Flutter\flt0\.packages --output-dill
E:\Flutter\flt0\.dart_tool\flutter_build\d79f3bddf59a7d6735a0aeb80fdc56d5\app.dill --depfile
E:\Flutter\flt0\.dart_tool\flutter_build\d79f3bddf59a7d6735a0aeb80fdc56d5\kernel_snapshot.d package:flt0/main.dart
[+11185 ms] [+12321 ms] kernel_snapshot: Complete
[+1899 ms] [+1920 ms] debug_android_application: Starting due to {}
[ +300 ms] [ +235 ms] debug_android_application: Complete
[ +901 ms] [ +984 ms] Persisting file store
[ +99 ms] [ +22 ms] Done persisting file store
[ +1 ms] [ +7 ms] build succeeded.
[ ] [ +32 ms] "flutter assemble" took 15,847ms.
[ +330 ms] > Task :app:packLibsflutterBuildDebug
[ +9 ms] > Task :app:preBuild UP-TO-DATE
[ +31 ms] > Task :app:preDebugBuild UP-TO-DATE
[ +2 ms] > Task :app:compileDebugAidl NO-SOURCE
[ +3 ms] > Task :app:checkDebugManifest
[ +1 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[ +3 ms] > Task :app:generateDebugBuildConfig
[ +34 ms] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[ +80 ms] > Task :app:mergeDebugShaders
[ +1 ms] > Task :app:compileDebugShaders
[ ] > Task :app:generateDebugAssets
[ ] > Task :app:mergeDebugAssets
[ +636 ms] > Task :app:copyFlutterAssetsDebug
[ +3 ms] > Task :app:mainApkListPersistenceDebug
[ +141 ms] > Task :app:generateDebugResValues
[ +52 ms] > Task :app:generateDebugResources
[+1072 ms] > Task :app:createDebugCompatibleScreenManifests
[ +354 ms] > Task :app:processDebugManifest
[ +1 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ +361 ms] > Task :app:checkDebugDuplicateClasses
[ +274 ms] > Task :app:desugarDebugFileDependencies
[ +216 ms] > Task :app:validateSigningDebug
[ +542 ms] > Task :app:signingConfigWriterDebug
[ +27 ms] > Task :app:mergeDebugResources
[+1275 ms] > Task :app:processDebugResources
[+3235 ms] > Task :app:compileDebugKotlin
[ +118 ms] > Task :app:mergeExtDexDebug
[ +141 ms] > Task :app:javaPreCompileDebug
[+1398 ms] > Task :app:compileDebugJavaWithJavac
[ +607 ms] > Task :app:compileDebugSources
[ +667 ms] > Task :app:transformClassesWithDexBuilderForDebug
[ +342 ms] > Task :app:mergeDebugJniLibFolders
[ +460 ms] > Task :app:mergeDebugJavaResource
[ +362 ms] > Task :app:mergeDexDebug
[+1000 ms] > Task :app:mergeDebugNativeLibs
[ +1 ms] Unable to strip library 'E:\Flutter\flt0\build\app\intermediates\merged_native_libs\debug\out\lib\x86\libflutter.so' due to missing strip tool for ABI 'X86'.
Packaging it as is.
[ +98 ms] Unable to strip library 'E:\Flutter\flt0\build\app\intermediates\merged_native_libs\debug\out\lib\x86_64\libflutter.so' due to missing strip tool for ABI
'X86_64'. Packaging it as is.
[ +309 ms] > Task :app:stripDebugDebugSymbols
[ +2 ms] Compatible side by side NDK version was not found.
[+4342 ms] > Task :app:packageDebug
[ +1 ms] > Task :app:assembleDebug
[ +26 ms] BUILD SUCCESSFUL in 38s
[ +1 ms] 30 actionable tasks: 29 executed, 1 up-to-date
[ +353 ms] Running Gradle task 'assembleDebug'... (completed in 39.2s)
[ +168 ms] calculateSha: LocalDirectory: 'E:\Flutter\flt0\build\app\outputs\apk'/app.apk
[ +75 ms] calculateSha: reading file took 73us
[ +663 ms] calculateSha: computing sha took 662us
[ +8 ms] √ Built build\app\outputs\apk\debug\app-debug.apk.
[ +41 ms] executing: D:\ProgramFiles\Android\SDK\build-tools\29.0.3\aapt dump xmltree E:\Flutter\flt0\build\app\outputs\apk\app.apk AndroidManifest.xml
[ +72 ms] Exit code 0 from: D:\ProgramFiles\Android\SDK\build-tools\29.0.3\aapt dump xmltree E:\Flutter\flt0\build\app\outputs\apk\app.apk AndroidManifest.xml
[ +6 ms] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.example.flt0" (Raw: "com.example.flt0")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: uses-permission (line=14)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
E: application (line=22)
A: android:label(0x01010001)="flt0" (Raw: "flt0")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.flt0.MainActivity" (Raw: "com.example.flt0.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: intent-filter (line=35)
E: action (line=36)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=38)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=45)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +19 ms] Stopping app 'app.apk' on Android SDK built for x86 64.
[ +28 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.example.flt0
[ +161 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.example.flt0
[ +77 ms] package:com.example.flt0
[ +4 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.example.flt0.sha1
[ +57 ms] bf47c26759ac28436d90a92ad2532406679aad90
[ +2 ms] Installing APK.
[ +4 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe version
[ +25 ms] Android Debug Bridge version 1.0.41
Version 29.0.6-6198805
Installed as D:\ProgramFiles\Android\SDK\platform-tools\adb.exe
[ +15 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe start-server
[ +62 ms] Installing build\app\outputs\apk\app.apk...
[ +21 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 install -t -r E:\Flutter\flt0\build\app\outputs\apk\app.apk
[+2025 ms] Performing Streamed Install
Success
[ +1 ms] Installing build\app\outputs\apk\app.apk... (completed in 2.0s)
[ +9 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell echo -n ad1bc95aa979fd0bd1c217725ac68cc1fb855428 >
/data/local/tmp/sky.com.example.flt0.sha1
[ +150 ms] Android SDK built for x86 64 startApp
[ +5 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.example.flt0/com.example.flt0.MainActivity
[ +488 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.flt0/.MainActivity (has extras) }
[ +1 ms] Waiting for observatory port to be available...
[ +464 ms] D/FlutterActivity( 3390): Using the launch theme as normal theme.
[ +5 ms] D/FlutterActivityAndFragmentDelegate( 3390): Setting up FlutterEngine.
[ +1 ms] D/FlutterActivityAndFragmentDelegate( 3390): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
[+1170 ms] D/FlutterActivityAndFragmentDelegate( 3390): Attaching FlutterEngine to the Activity that owns this Fragment.
[ +100 ms] D/FlutterView( 3390): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@3609f2e
[ +33 ms] D/FlutterActivityAndFragmentDelegate( 3390): Executing Dart entrypoint: main, and sending initial route: /
[ +87 ms] Observatory URL on device: http://127.0.0.1:46797/b8z_yhdNKbA=/
[ +4 ms] executing: D:\ProgramFiles\Android\SDK\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:46797
[ +129 ms] 53138
[ +22 ms] Forwarded host port 53138 to device port 46797 for Observatory
[ +43 ms] Connecting to service protocol: http://127.0.0.1:53138/b8z_yhdNKbA=/
[ +842 ms] Successfully connected to service protocol: http://127.0.0.1:53138/b8z_yhdNKbA=/
[ +9 ms] Sending to VM service: getVM({})
[ +40 ms] Result: {type: VM, name: vm, architectureBits: 64, hostCPU: Virtual CPU, operatingSystem: android, targetCPU: x64, version: 2.7.2 (Mon Mar 23 22:11:27 2020
+0100) on "android_x64", _profilerMode: VM, _nativeZoneMemoryUsage: 0, pid: 3390, startTime: 158669...
[ +43 ms] Sending to VM service: getIsolate({isolateId: isolates/2879932248149975})
[ +40 ms] Sending to VM service: _flutter.listViews({})
[ +17 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x7ef9d0163f20, isolate: {type: @Isolate, fixedId: true, id:
isolates/2879932248149975, name: main.dart$main-2879932248149975, number: 2879932248149975}}]}
[ +35 ms] DevFS: Creating new filesystem on the device (null)
[ +37 ms] Sending to VM service: _createDevFS({fsName: flt0})
[ +44 ms] Result: {type: Isolate, id: isolates/2879932248149975, name: main, number: 2879932248149975, _originNumber: 2879932248149975, startTime: 1586696915758,
_heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 0, avgCollectionPeriodMillis...
[ +65 ms] Result: {type: FileSystem, name: flt0, uri: file:///data/user/0/com.example.flt0/code_cache/flt0OCZCSW/flt0/}
[ +5 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.flt0/code_cache/flt0OCZCSW/flt0/)
[ +5 ms] Updating assets
[ +248 ms] Syncing files to device Android SDK built for x86 64...
[ +6 ms] Scanning asset files
[ +47 ms] <- reset
[ +1 ms] Compiling dart to kernel with 0 updated files
[ +26 ms] D:\ProgramFiles\flutter\bin\cache\dart-sdk\bin\dart.exe D:\ProgramFiles\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot
--sdk-root D:\ProgramFiles\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true
--output-dill C:\Users\ADMINI~1\AppData\Local\Temp\flutter_tool.9b916826-7cbe-11ea-ae93-001e8cf62068\app.dill --packages E:\Flutter\flt0\.packages
-Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root
[ +62 ms] D/EGL_emulation( 3390): eglMakeCurrent: 0x7ef9408637c0: ver 2 0 (tinfo 0x7ef940818f20)
[ +1 ms] D/eglCodecCommon( 3390): setVertexArrayObject: set vao to 0 (0) 1 0
[ +6 ms] <- compile package:flt0/main.dart
[+11839 ms] Updating files
[ +360 ms] DevFS: Sync finished
[ +2 ms] Syncing files to device Android SDK built for x86 64... (completed in 12,351ms, longer than expected)
[ +52 ms] Synced 0.9MB.
[ +7 ms] Sending to VM service: _flutter.listViews({})
[ +10 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x7ef9d0163f20, isolate: {type: @Isolate, fixedId: true, id:
isolates/2879932248149975, name: main.dart$main-2879932248149975, number: 2879932248149975}}]}
[ +36 ms] <- accept
[ +3 ms] Connected to _flutterView/0x7ef9d0163f20.
[ +5 ms] �🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ +3 ms] An Observatory debugger and profiler on Android SDK built for x86 64 is available at: http://127.0.0.1:53138/b8z_yhdNKbA=/
[ +43 ms] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".