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

Why do I have to do flutter create . to build? #1

Closed
sgehrman opened this issue Feb 4, 2020 · 2 comments
Closed

Why do I have to do flutter create . to build? #1

sgehrman opened this issue Feb 4, 2020 · 2 comments
Labels
question Further information is requested

Comments

@sgehrman
Copy link

sgehrman commented Feb 4, 2020

Just wondering why it's not simple to build and run?

I had to run flutter create .

Got this error:
AndroidManifest.xml could not be found.
Please check /home/steve/google/clock/canvas_clock/android/AndroidManifest.xml for errors.
No application found for TargetPlatform.android_x64.
Is your project missing an android/AndroidManifest.xml?
Consider running "flutter create ." to create one.

@creativecreatorormaybenot creativecreatorormaybenot added the question Further information is requested label Feb 4, 2020
@creativecreatorormaybenot
Copy link
Owner

I am glad you took a look at the project and asked 😃

In this project, I excluded the ios, android, and web directories (as part of preparing the clock for submission, see Getting Started here). Consequently, flutter create . is required to generate these before you can run the project. Additionally, it would get any missing packages (if any were used 😄 ).
This saves size and also ensures longer compatibility because flutter create . will always add the latest platform setup.

I did not think that the question would come up. Now that you asked, I will include it in the README. See the commit linked below.

@sgehrman
Copy link
Author

sgehrman commented Feb 4, 2020

Thanks for the response and adding it to the readme.

creativecreatorormaybenot added a commit that referenced this issue Feb 4, 2020
Former-commit-id: b6a098a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants