academind / flutter-complete-guide-course-resources

Course resources (code snapshots & slides) for our complete Flutter & Dart course (https://acad.link/flutter).
1.85k stars 796 forks source link

AndroidManifest.xml missing in snapshots #15

Open AdamJel opened 8 months ago

AdamJel commented 8 months ago

Hi,

none of the snapshots contain the AndroidManifest.xml (and possible some other Android files?). As a result, it is not possible to run the downloaded snapshot in a android emulated device.

The specific error message after trying to run any snapshot is:

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
AndroidManifest.xml could not be found.
Please check <project-path>\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.

What is the recommended way to start an app from any snapshot? Also, perhaps this information could be included in this repo's README.md file.

I came back to the course after a while and I don't remember, how I run the project before. Maybe the information is somewhere, or it was said in an early video, but it is not easy to continue after a while, since I cannot find this information easily.

EDIT:

Please note that the code snapshots are not standalone projects that may be executed! They only > exist to help you compare your code!

Ok, I agree that individual snapshots don't have to be standalone ready to launch projects. But I still think, that it would be greatly helpful, if the information about how to actually run the snapshots was somewhere. Perhaps a folder containing the rest of files needed to run the project. Or just a step-by-step instructions on how to create a standalone runnable project from snapshots..

Thank you