-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
On Android, if your app is called x.y.switch
, it fails to build
#460
Comments
Agreed that this is an edge case we need to catch - probably very early in the process. App names will also be restricted by Python reserved words - you couldn't name your app "def" or "import" for example. We also need to validate the parts of the bundle ID - |
Hello! I would like to try fixing this. |
@junefish By all means - go ahead! If you need any pointers or suggestions, let us know! |
Made a fork to fix the issue. |
Describe the bug
If you call your app
switch
(or another Java reserved word), you will be unable to build it on Android.To Reproduce
You can reproduce by creating an app whose module_name is
switch
. For example, you can use a Toga demo app.Steps to reproduce the behavior:
cd
intoexamples/switch
briefcase create android && briefcase build android
Expected behavior
The app should build or briefcase should print an error at the
briefcase new
phase, or briefcase should print an error before trying to runbriefcase create android
.Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: