Repository navigation
Description
Rough TODO list:
- Make //flutter/snapshotter work on Windows.
- Make the
fluttercommand line tool work on Windows.- Teach the
flutter.ps1where to get the Dart SDK and how to bootstrap into Dart. - Teach the tool about Windows as a host platform (e.g., where to find the snapshotter)
- Teach the tool how to control Android devices via
adbon Windows.
- Teach the
- Infrastructure for continuously building and testing the Windows toolchain.
Issue by Scorpiion
Sunday Aug 23, 2015 at 18:18 GMT
Originally opened as https://github.com/flutter/engine/issues/771
I understand that Windows support is not prio 1 atm, but in the future, as a platform for developing Android apps (and maybe iOS apps), would it be possible to add Windows support? I understand that it would be some work, but basically what I'm asking is if it's part of the long term plan or simply ignored on purpose for some reason (other than maybe no devs on the team are using Windows..).
Even if I myself only use Linux (close to 10 years Linux only) I think it can be good for the project to support Windows in the long run, at Stackoverflow's latest developer survey Windows developers was still a little bit more that 50% (Mac and Linux at ~21% each):
http://stackoverflow.com/research/developer-survey-2015#tech-os
The only reference of Windows I could find was this old comment in an old readme:
https://github.com/domokit/sky_engine/pull/165/files#r35055666
And just to be extra clear and avoid any confusion, this issue is about developing Android and iOS apps on Windows, not deploying Sky to Windows Phone.
Activity
FlutterIssues commentedon Nov 9, 2015
Sunday Aug 23, 2015 at 20:43 GMT
To be clear, are you asking to deploy to windows phone, windows desktop, or
simply develop on windows?
FlutterIssues commentedon Nov 9, 2015
Sunday Aug 23, 2015 at 21:39 GMT
Hi @sethladd, "simply develop on windows", yes.
If anyone have a suggestion for a more clear issue name then be my guest and change it or tell me and I change it.
Edit: Added "(development host only, not deployment target)" to the topic for now.
FlutterIssues commentedon Nov 9, 2015
Sunday Aug 23, 2015 at 22:12 GMT
Yup. It is definitely be possible to support Windows development of Sky apps (for running on mobile OSes for which there exist Windows SDKs) at some point in the future. (Not clear one could develop Sky apps for iOS on windows ever for instance.) Right now we're focused on polishing the actual deployed product first. If the product isn't first awesome, it doesn't matter what development environments it supports. :)
FlutterIssues commentedon Nov 9, 2015
Monday Aug 24, 2015 at 03:16 GMT
Thanks! Agreed... there are a ton of Windows developers.
FlutterIssues commentedon Nov 9, 2015
Monday Aug 24, 2015 at 08:45 GMT
Thanks for the reply @eseidel, sounds great, I think the team have the right focus, looking forward to that initial awesome product! 👍
cooler-king commentedon Nov 19, 2015
Now that Dart SDK 1.13.0 is released, are we getting close to adding support for developing on Windows? The additional feedback from Windows devs will help you make flutter awesome.
adaojunior commentedon Nov 19, 2015
@cooler-king what does Dart 1.13.0 has that could help Flutter and Windows development ? (curious).
I'm currently using Windows, and I'm very interested in testing Flutter.
cooler-king commentedon Nov 19, 2015
@adaojunior Maybe nothing. Just hoping for some movement on this issue.
cooler-king commentedon Jan 14, 2016
Any chance we could get an update on this one? If the answer is still we'll get to it when we get to it, that's fine. But if you have an estimated month or quarter (without any firm commitment) that would be better.
adaojunior commentedon Jan 14, 2016
@cooler-king Have you tried using it though a virtual box VM ?
I haven't yet but it may work.
cooler-king commentedon Jan 14, 2016
@adaojunior I tried a couple of months ago to no avail. Not to say it's impossible, but I couldn't get it fully working at that time.
sethladd commentedon Jan 15, 2016
Sorry, no updates. Thanks for checking in!
66 remaining items
CoenB95 commentedon Mar 7, 2017
Good morning. I've just succeeded (yeey) to run flutter doctor. Some feedback so far:
PATHso flutter could find Git (I used git bash, therefore it wasn't required earlier).jsiedentop commentedon Mar 7, 2017
Hello CoenB95,
For safty reasons it's not possible to run unsigned scripts by default. A Power Shell Script could do something unwanted on your system.
You can activate the execution with the following command:
(Better use RemoteSigned; advise from jacoplane)Set-ExecutionPolicy UnrestrictedSet-ExecutionPolicy RemoteSignedBTW: Great news!
I've got some trobles on Windows 7 so i filed an issue: #8606
rbishop-bah commentedon Mar 7, 2017
Having some trouble running now after a flutter upgrade this morning: #8607
goderbauer commentedon Mar 7, 2017
@CoenB95
In a PowerShell, execute
Set-ExecutionPolicy RemoteSignedto allow running scripts. I am investigating if there is a better way, otherwise I will add this step to the setup instructions (see #8615).The setup instructions say that you should make sure to have Git added to the PATH by the Git installer. I will add a note for people installing Git from other sources.
Please file a separate bug.
There shouldn't be a need to manually check this. The tool should tell you if it can't perform a certain action because the SDK is too old. You can update then.
goderbauer commentedon Mar 7, 2017
@rbishop-bah @jsiedentop I replied to your bugs on the issues you filed. Thanks for the reports.
goderbauer commentedon Mar 7, 2017
Thanks everybody for trying out Flutter on Windows and for reporting back. I am now going to close this issue as the main goal is achieved. Going forward, we will track the remaining work for Windows in other (smaller) issues.
If you encounter any new bugs, please open new issues and don't reply to this one. Feel free to mention me in the issue, if it is related to Windows.
NicolasJacob commentedon Mar 7, 2017
Windows support still refer to this pr in flutter website https://flutter.io/setup/
Update Windows version of GN based on that of Dart. (flutter#138)
github-actions commentedon Sep 5, 2021
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 -vand a minimal reproduction of the issue.