Skip to content

Instantly share code, notes, and snippets.

@escamoteur
Created January 21, 2020 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save escamoteur/5afda4b91c4ad73a654dfe47b69f98c0 to your computer and use it in GitHub Desktop.
Save escamoteur/5afda4b91c4ad73a654dfe47b69f98c0 to your computer and use it in GitHub Desktop.

PS C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos> flutter run -d windows -v [ +26 ms] executing: [C:\Entwicklung\Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +61 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] ec1044a8773e31b4630bf162d9c374236ad1eaaf [ ] executing: [C:\Entwicklung\Flutter/] git describe --match v*.. --first-parent --long --tags [ +84 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags [ ] v1.14.1-51-gec1044a877 [ +7 ms] executing: [C:\Entwicklung\Flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] executing: [C:\Entwicklung\Flutter/] git ls-remote --get-url origin [ +38 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter [ +70 ms] executing: [C:\Entwicklung\Flutter/] git rev-parse --abbrev-ref HEAD [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ +38 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ +17 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +8 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +19 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +37 ms] executing: C:\Users\escam\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [ +32 ms] Exit code 0 from: C:\Users\escam\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [ +4 ms] List of devices attached [ +15 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +2 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +42 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +8 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +32 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +228 ms] Found plugin connectivity at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\connectivity-0.4.6+1
[ +16 ms] Found plugin device_info at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\device_info-0.4.1+4
[ +23 ms] Found plugin flutter_compass at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_compass-0.3.4
[ +39 ms] Found plugin geolocator at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\geolocator-5.1.5
[ +20 ms] Found plugin google_api_availability at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\google_api_availability-2.0.1
[ +47 ms] Found plugin location_permissions at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\location_permissions-2.0.3
[ +33 ms] Found plugin package_info at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\package_info-0.4.0+13
[ +43 ms] Found plugin path_provider at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.5.1
[ +17 ms] Found plugin permission_handler at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\permission_handler-2.2.0
[ +21 ms] Found plugin shared_preferences at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.3+5
[ +25 ms] Found plugin sqflite at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\sqflite-1.2.0
[ +102 ms] Found plugin connectivity at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\connectivity-0.4.6+1
[ +6 ms] Found plugin device_info at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\device_info-0.4.1+4
[ +9 ms] Found plugin flutter_compass at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_compass-0.3.4
[ +49 ms] Found plugin geolocator at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\geolocator-5.1.5
[ +28 ms] Found plugin google_api_availability at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\google_api_availability-2.0.1\
[ +20 ms] Found plugin location_permissions at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\location_permissions-2.0.3
[ +18 ms] Found plugin package_info at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\package_info-0.4.0+13
[ +36 ms] Found plugin path_provider at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.5.1
[ +2 ms] Found plugin permission_handler at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\permission_handler-2.2.0
[ +11 ms] Found plugin shared_preferences at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.3+5
[ +30 ms] Found plugin sqflite at C:\Users\escam\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\sqflite-1.2.0
[ +105 ms] Generating C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +121 ms] Launching lib\main.dart on Windows in debug mode... [ +28 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -utf8 -latest -version 16 -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.Windows10SDK.17763 [ +58 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -utf8 -latest -version 16 -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.Windows10SDK.17763 [ +2 ms] [ { "instanceId": "289c154c", "installDate": "2019-12-18T14:20:19Z", "installationName": "VisualStudio/16.4.2+29613.14", "installationPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community", "installationVersion": "16.4.29613.14", "productId": "Microsoft.VisualStudio.Product.Community", "productPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe", "state": 4294967295, "isComplete": true, "isLaunchable": true, "isPrerelease": false, "isRebootRequired": false, "displayName": "Visual Studio Community 2019", "description": "Leistungsstarke IDE, kostenlos für Studenten, Open-Source-Mitwirkende und Einzelpersonen", "channelId": "VisualStudio.16.Release", "channelUri": "https://aka.ms/vs/16/release/channel", "enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service", "releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660893#16.4.2", "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909", "updateDate": "2019-12-18T14:20:19.404793Z", "catalog": { "buildBranch": "d16.4", "buildVersion": "16.4.29613.14", "id": "VisualStudio/16.4.2+29613.14", "localBuild": "build-lab", "manifestName": "VisualStudio", "manifestType": "installer", "productDisplayVersion": "16.4.2", "productLine": "Dev16", "productLineVersion": "2019", "productMilestone": "RTW", "productMilestoneIsPreRelease": "False", "productName": "Visual Studio", "productPatchVersion": "2", "productPreReleaseMilestoneSuffix": "1.0", "productSemanticVersion": "16.4.2+29613.14", "requiredEngineVersion": "2.4.1111.43337" }, "properties": { "campaignId": "", "channelManifestId": "VisualStudio.16.Release/16.4.2+29613.14", "nickname": "", "setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe" } } ] [ +89 ms] Building Windows application... [ +35 ms] executing: [C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows/] C:\Entwicklung\Flutter\packages\flutter_tools\bin\vs_build.bat C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat Runner.sln Debug [ +309 ms] ********************************************************************** [ +1 ms] ** Visual Studio 2019 Developer Command Prompt v16.4.2 [ +1 ms] ** Copyright (c) 2019 Microsoft Corporation [ +9 ms] ********************************************************************** [ +989 ms] [vcvarsall.bat] Environment initialized for: 'x64' [ +116 ms] Microsoft (R)-Build-Engine, Version 16.4.0+e901037fe für .NET Framework [ ] Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. [ +12 ms] Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu ermöglichen, müssen Sie den Schalter "-m" hinzufügen. [ +244 ms] Der Buildvorgang wurde am 21.01.2020 16:52:40 gestartet. [ +591 ms] Projekt "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.sln" auf Knoten "1" (Standardziele). [ +2 ms] ValidateSolutionConfiguration: [ +1 ms] Die Projektmappenkonfiguration "Debug|x64" wird erstellt. [ +373 ms] Das Projekt "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.sln" (1) erstellt "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj.metaproj" (2) auf Knoten "1" (Standardziele). [ +1 ms] Das Projekt "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj.metaproj" (2) erstellt "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\FlutterBuild.vcxproj" (3) auf Knoten "1" (Standardziele). [ +17 ms] InitializeBuildStatus: [ ] "x64\Debug\Flutter Build.tlog\unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wurde. [ +31 ms] CustomBuildStep: [ +7 ms] Running Flutter backend build [ +21 ms] "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\scripts\prepare_dependencies" Debug [ +29 ms] :VCEnd [+5112 ms] FinalizeBuildStatus: [ ] Die Datei "x64\Debug\Flutter Build.tlog\unsuccessfulbuild" wird gelöscht. [ +1 ms] Aktualisieren des Timestamps von "x64\Debug\Flutter Build.tlog\Flutter Build.lastbuildstate". [ +3 ms] Die Erstellung von Projekt "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\FlutterBuild.vcxproj" ist abgeschlossen (Standardziele). [ +110 ms] Das Projekt "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj.metaproj" (2) erstellt "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj" (4) auf Knoten "1" (Standardziele). [ +2 ms] InitializeBuildStatus: [ +1 ms] Aktualisieren des Timestamps von "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows..\build\windows\intermediates\x64\Debug\Runner\Runner.tlog\unsuccessfulbuild". [ +122 ms] ClCompile: [ +1 ms] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\CL.exe /c /ZI /JMC /nologo /W3 /WX-/diagnostics:column /sdl /Od /D _MBCS /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline
/Fo"C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows..\build\windows\intermediates\x64\Debug\Runner\" /Fd"C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows..\build\windows\intermediates\x64\Debug\Runner\vc142.pdb" /Gd /TP /FC
/errorReport:queue main.cpp flutter\generated_plugin_registrant.cc [ +95 ms] main.cpp [ +801 ms] C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\main.cpp(86,60): error C2039: "GetNativeWindow": Ist kein Element von "flutter::FlutterViewController" [C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj] [ +2 ms] C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\flutter\ephemeral\cpp_client_wrapper\include\flutter\flutter_view_controller.h(25): message : Siehe Deklaration von "flutter::FlutterViewController" [C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj] [ +150 ms] generated_plugin_registrant.cc [ +269 ms] Code wird generiert... [ +94 ms] Die Erstellung des Projekts "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj" ist abgeschlossen (Standardziele) -- FEHLER. [ +1 ms] Die Erstellung des Projekts "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj.metaproj" ist abgeschlossen (Standardziele) -- FEHLER. [ +15 ms] Die Erstellung des Projekts "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.sln" ist abgeschlossen (Standardziele) -- FEHLER. [ +25 ms] Fehler beim Buildvorgang. [ ] "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.sln" (Standardziel) (1) -> [ ] "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj.metaproj" (Standardziel) (2) -> [ +1 ms] "C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj" (Standardziel) (4) -> [ +1 ms] (ClCompile Ziel) -> [ +1 ms] C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\main.cpp(86,60): error C2039: "GetNativeWindow": Ist kein
Element von "flutter::FlutterViewController" [C:\Entwicklung\Projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\windows\Runner.vcxproj] [ +1 ms] 0 Warnung(en) [ +21 ms] 1 Fehler [ +3 ms] Verstrichene Zeit 00:00:07.87 [ +19 ms] Building Windows application... (completed in 9,6s) [ +13 ms] "flutter run" took 11.243ms. Build process failed. To view the stack trace, please run flutter run -d windows -v.

#0 throwToolExit (package:flutter_tools/src/base/common.dart:27:3) #1 buildWindows (package:flutter_tools/src/windows/build_windows.dart:88:5) #2 WindowsDevice.buildForDevice (package:flutter_tools/src/windows/windows_device.dart:46:11) #3 DesktopDevice.startApp (package:flutter_tools/src/desktop_device.dart:86:13) #4 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:434:54) #5 HotRunner.run (package:flutter_tools/src/run_hot.dart:333:39) #6 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:555:37) #7 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:637:18) #8 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:75:64) #9 _rootRunUnary (dart:async/zone.dart:1134:38) #10 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #11 _FutureListener.handleValue (dart:async/future_impl.dart:140:18) #12 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45) #13 Future._propagateToListeners (dart:async/future_impl.dart:711:32) #14 Future._completeWithValue (dart:async/future_impl.dart:526:5) #15 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:34:15) #16 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:293:13) #17 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart) #18 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:75:64) #19 _rootRunUnary (dart:async/zone.dart:1134:38) #20 _CustomZone.runUnary (dart:async/zone.dart:1031:19) #21 _FutureListener.handleValue (dart:async/future_impl.dart:140:18) #22 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45) #23 Future._propagateToListeners (dart:async/future_impl.dart:711:32) #24 Future._completeWithValue (dart:async/future_impl.dart:526:5) #25 Future._asyncComplete. (dart:async/future_impl.dart:556:7) #26 _rootRun (dart:async/zone.dart:1126:13) #27 _CustomZone.run (dart:async/zone.dart:1023:19) #28 _CustomZone.runGuarded (dart:async/zone.dart:925:7) #29 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:965:23) #30 _microtaskLoop (dart:async/schedule_microtask.dart:43:21) #31 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5) #32 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment