I encountered an exception while using “briefcase build android" in toga0.4 #2236
-
My code works normally in toga0.31. But in toga0.4, my new project with same code works normally on Windows while using "briefcase create" , "briefcase build" , "briefcase run" or "briefcase create android".I encountered an exception while using “briefcase build android" in toga0.4.The code is as follows:
The error that occurred is as follows:
In Toga0.31, it is normal. I saw Toga0.4 and wanted to try out its new features. I created a new project, but there was an error while using “briefcase build android".How to correct the above error? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Previously reported here: The The simplest workaround may just be uninstalling Python 3.12 until such support is added....which shouldn't be too much longer. Otherwise, you'll need to ensure that the |
Beta Was this translation helpful? Give feedback.
Previously reported here:
The
py
command is finding Python 3.12 but BeeWare does not yet support building Android packages with Python 3.12.The simplest workaround may just be uninstalling Python 3.12 until such support is added....which shouldn't be too much longer.
Otherwise, you'll need to ensure that the
py
command uses an older Python by default.