You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I am getting the following error E/AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: android.graphics.text.LineBreaker
whenever I try to run the beeware app on an Android device with API Level <29, After some search I found out that the LineBreaker class was introduced in API Level 29 as it's mentioned here
Additionally, how can I update the toga-android used in my app as soon as the bug is fixed?
Steps to reproduce
Try to run a toga-app on Android <=9
Expected behavior
toga-android should not contain features from Android SDK 29 while it says it requires Android SDK 24. And apps should just run when there is no errors.
Screenshots
No response
Environment
Operating System: Windows
Python version: 3.10.6
Software versions:
Briefcase: 0.3.15
Toga: 0.3.1
...
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered:
This has already been fixed in the development version. See #1878, and in future please search for existing issues before creating new ones.
The fix will be released with the next Toga version, probably in August or September. After that, you can update your app by changing the toga-android version in your pyproject.toml file.
To use the development version of Toga, edit your pyproject.toml file to replace the toga requirement with Git URLs for the core and backend packages. For example, on Android you would replace toga-android with the following:
Describe the bug
toga-android requires API Level 24 as it has been mentioned here
However, I am getting the following error
E/AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: android.graphics.text.LineBreaker
whenever I try to run the beeware app on an Android device with API Level <29, After some search I found out that the
LineBreaker
class was introduced in API Level 29 as it's mentioned hereAdditionally, how can I update the toga-android used in my app as soon as the bug is fixed?
Steps to reproduce
Expected behavior
toga-android should not contain features from Android SDK 29 while it says it requires Android SDK 24. And apps should just run when there is no errors.
Screenshots
No response
Environment
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: