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
Error in android : can not import ScreenManager #5701
Comments
👋 Thanks for opening your first issue here! Be sure to follow the issue template! |
Does it do the same with git+link?
|
Dear, not sure to understand how to set this requirement.
|
came up with error
I can access the website from my virtual machine. So I don't understand why it failed in resolving github.com |
Seems like SSL is failing for you. I made a quick search for you: Git stopped working over SSL .. |
I have overcame the proxy issue, so I moved one step forward : the Git repository is downloaded But now, build fails with error something like The problem is : I have Cython installed.... Even when I tried to do a I'm really lost... |
We can only hope if @dolang is able to help you with this. |
I am not sure what exactly the issue is here, but the best idea I have for the Cython issue is that If that still doesn't help, please post a full build log with log_level 2 |
Also worth noting that Cython 0.28.x is not extensively tested; it works for me on desktop, but there could be differences for mobile, maybe uninstall it and try |
Have install However, something is not clear to me:
Maybe issue is coming from here ? But again, what is weird is that the program on andoid failed only if I try to import screenmanager module...
|
I am not familiar with buildozer, but last I set up p4a, using system Python 3.4 did not work for building with Python 3.5 crystax. I have no idea what the relation to the ScreenManager thing is, if any, but certainly it's worth testing. I'd try uninstalling buildozer, and reinstall it using the pip from the interpreter version you are going to use. Also uninstall p4a if it's installed, just to make sure it's not some weird issue related to that. I used pyenv to install Python 3.5, set it as default interpreter, and then install p4a. To use 3.6 I think the only required change in configuration is |
Dears, finally I fixed the issue by recreating my own virtual environment on ubunto 16.04, using Python 3.6.5. It took ages to finalize it as there are many tiny things to adjust on buildozer, but finally I made it. Now application is running well, but can not find the settings of my app in the Samsung Galaxy Here is the main.py for reference
|
👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project. If you're having trouble installing Kivy, make sure to check out the installation docs for Windows, Linux and macOS. Let us know if this comment was made in error, and we'll be happy to reopen the issue. |
Versions
Have created an App.
Built it with buildozer (for python3), without any problem
Ran OK in my android devices
then I triedl to add the settings management of the app by using
kivy.uix.settings
functionnalitiesSo I've add ed
from kivy.uix.settings import SettingsWithSidebar
and then all the code to built the settings panel.Running in Windows : no issue
Building with buildozer : no issue
Running on android : crash with error message : (adb logs)
The problem is from the
from kivy.uix.settings import SettingsWithSidebar
which itself tries to import ScreenManager and other modules. But the import failedWhat I'm quite confused about is that these modules/librairies are part of the Kivy core product so why it failed ? Do I need to add some requirements to buildozer or this is clearly a bug in buildozer when creating the APK ?
Below my buildozer requirements :
requirements = python3crystax,kivy,pyjnius
Rgds
The text was updated successfully, but these errors were encountered: