Closed large closed 1 month ago
Hi @large π Thanks for opening this issue. We are going to attempt to reproduce but could you also ensure you update to the latest Very Good CLI 0.23.0 and retest as well? If either of us are able to reproduce would you be willing to help fix the issue as well?
I was able to reproduce using Very Good CLI 0.23.0, this is indeed a valid issue and should be fixed ASAP.
Also noticed that the lib/gen/assets.gen.dart files are generated by the package https://pub.dev/packages/flutter_gen But that is not documented into the project out-of-the-box. Best practice should be to include all assets used.
Hi @large, so we have a fix for this and we will be soon releasing, but first we need to unblock the pipeline due to the latest Flame release (1.19.0) that introduces a breaking change in a minor, affecting flame_behaviors (a dependency the template relies on).
Regarding the other issue about the flutter_gen
, that is being tracked over here https://github.com/VeryGoodOpenSource/very_good_cli/issues/1099. It doesn't seem to be a template issue (flutter_gen, is not a hosted main dependency), instead it seems that the flutter l10n tooling resolves for the hosted flutter_gen package rather than the internal one generated by the Flutter tooling.
Description Flame game out-of-the-box did not compile for Android.
Steps To Reproduce Use very_cli 0.22.2 and create a project:
very_good create flame_game some_game
File generated are missing {{android_namespace} and {{android_application_id}} inn android/app/build.gradle Needed manually change to same namespace com.example.verygoodcore.some_game, since all other files was changed.
Expected Behavior Compile without any need to change namespace and appID.
Additional Context