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

Install method on linux should use git clone #11498

Open
1 task
ArrODevv opened this issue Dec 15, 2024 · 4 comments
Open
1 task

Install method on linux should use git clone #11498

ArrODevv opened this issue Dec 15, 2024 · 4 comments
Assignees
Labels
e1-hours Effort: < 8 hrs from.page-issue Reported in a reader-filed concern p1-high Major but not urgent concern: Resolve in months. Update each month.

Comments

@ArrODevv
Copy link

ArrODevv commented Dec 15, 2024

Page URL

https://docs.flutter.dev/get-started/install/linux/android#download-then-install-flutter

Page source

https://github.com/flutter/website/tree/main/src/content/get-started/install/linux/android.md

Describe the problem

On the page listed above, there is a download link for a .tar.xz and every time (2 times to be precise) I install flutter from this file, flutter doctor complains that the directory should be a git clone of flutter/flutter. After cloning said repo it immediately worked. It's not a fatal issue, but it does decrease user comfort.

Sorry for that wall of text, let me know if you need more infos or if this is a duplicate (I couldn't find an issue for this) or really anything.

Thank you!

Expected fix

I think the first step shouldn't be downloading the tar.xz archive, but rather opening a terminal and running git clone [...].

Additional context

I use Firefox 133.0.3 and am following the installation tutorial for flutter android app development.

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.
@ArrODevv ArrODevv added the from.page-issue Reported in a reader-filed concern label Dec 15, 2024
@sfshaza2 sfshaza2 added p1-high Major but not urgent concern: Resolve in months. Update each month. e1-hours Effort: < 8 hrs labels Dec 15, 2024
@sfshaza2
Copy link
Contributor

@antfitch, would you mind taking a look at this?

@antfitch
Copy link
Contributor

antfitch commented Dec 16, 2024 via email

@antfitch
Copy link
Contributor

My hunch is that a developer should not have to clone flutter/flutter to build a Flutter Android app. I suspect that a developer should clone this repository only if they feel like making their own changes to the Flutter project or taking a sneak peak at upcoming features.

@craiglabenz is this something you can chime in on? @ArrODevv when you were getting those error messages, had you ever cloned flutter/flutter on the machine you were using before?

@ArrODevv
Copy link
Author

No, it was my first time installing flutter. I did everything according to the guide. At first I thought there was a good reason it needed a git clone?

A bit after posting this issue, I also installed flutter on my windows machine and there was a git clone in the zip file.

Thanks for your time so far!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e1-hours Effort: < 8 hrs from.page-issue Reported in a reader-filed concern p1-high Major but not urgent concern: Resolve in months. Update each month.
Projects
None yet
Development

No branches or pull requests

3 participants