-
-
Notifications
You must be signed in to change notification settings - Fork 670
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
Android module import error #2930
Comments
That should work fine, so my guess is that isn't actually the code that's producing the exception.
If neither of those work, please post at least the first 33 lines of app.py. |
I tried both checks as well as verified the same error on android emulator as well. Here are the first 33 lines of app.py:
Thanks a lot! |
All Toga packages must be the same version. Are they actually different, or was this just a typo in the issue? I tried the following:
And it worked fine. Here are some more things to try:
If neither of those work, then you'll need to provide a complete minimal example project which reproduces the issue, push it to GitHub, and post the link here. |
Describe the bug
While building and running the app for an android phone, I am trying to get sensor data. From the documentation, I am trying to import the android intents. However, during the execution of the app, I receive the error "ModuleNotFoundError: No module named 'android'".
Steps to reproduce
Expected behavior
import of the android module
Screenshots
No response
Environment
toga = 0.4.8
briefcase = 0.3.20
python = 3.9
toga_android = 0.4.7
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: