"xml\provider_paths.xml" file disappears after "briefcase create android" #2194
-
The documentation says that after editing pyproject.toml I have to do "briefcase create android" for the changes to take effect. But at the same time this process deletes "xml\provider_paths.xml" and removes the changes made in the "xml\file_paths.xml" file. Is this expected or a bug? Should I make the changes in "xml\file_paths.xml" after doing "briefcase create android"? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, this is completely intended behavior. The contents of the If you need to make modifications to files generated by Briefcase, then yes - those changes need to be made after running If you want to preserve modifications to files generated by Briefcase, the immediate solution is to fork the template that is used for Android support, make your modifications to that template, and then set If you can make a case for why Briefcase's default template should be extendable in a particular way, we're open adding other modification points. As an example, we already have configuration items such as |
Beta Was this translation helpful? Give feedback.
Yes, this is completely intended behavior. The contents of the
build
folder should be considered ephemeral - it can (and will) be deleted at any time if Briefcase needs to do so.If you need to make modifications to files generated by Briefcase, then yes - those changes need to be made after running
briefcase create
. However, those changes will be lost the next time you run briefcase create.If you want to preserve modifications to files generated by Briefcase, the immediate solution is to fork the template that is used for Android support, make your modifications to that template, and then set
template = "https://github.com/..."
in your pyproject.toml to use the template.If you can make…