Open yahu1031 opened 1 year ago
This happens with all the versions.
@yahu1031 thanks for opening an issue π !
I've been unable to reproduce this issue in MacOS, but you seem to be using Windows. In other words, very_good create flutter_plugin sky_client
succeeds for MacOS.
Do you mind sharing the output of flutter doctor -v
?
Could you please check if it creates the kotlin file in Mac? I will update the rest in a mean while. @alestiago
Thanks @yahu1031 for the quick reply! I look forward to the update.
Regarding your question, the file here is not being generated. There is only a single file under my_plugin_android/android/src/main/
and that is the AndroidManifest.xml
. Although the Kotlin file is not being generated, the Unhandled exception
is not thrown on create (MacOS).
The brick does have the Kotlin [file](https://github.com/VeryGoodOpenSource/very_good_flutter_plugin/tree/main/brick/__brick__/%7B%7Bproject_name.snakeCase()%7D%7D/%7B%7B%23android%7D%7D%7B%7Bproject_name.snakeCase()%7D%7D_android%7B%7B/android%7D%7D/android/src/main/kotlin/%7B%7Borg_name.pathCase()%7D%7D) and there is no post hook, which is interesting. This should definitely be looked into π .
Possibly related: https://github.com/felangel/mason/issues/676
I can confirm that this is reproducible in Windows.
@alestiago Sorry about not responding so quickly. I'm away from my Windows machine. So can't give you more info. But LMK if anything is needed and I will try providing it somehow.
This is still happening in windows
This is still happening in windows
Description Creating a flutter plugin throws PathNotFound Exception. These exceptions must be handled by some error statements.
Steps To Reproduce
very_good create flutter_plugin sky_client
Now you see this error.
Expected Behavior Should create a federated plugin code.
Additional Context
very_good_cli
- 0.13.1