-
Notifications
You must be signed in to change notification settings - Fork 511
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
Switch from pygame to sdl2 easily #313
Comments
You can install master version and use target "android_new" which will build with SDL2. |
I did this:
thanks |
What I meant is:
I think that |
Oh ok man, thanks. This work but raise the following problem when debug:
Where can i found the sh module? |
I think you can install it with |
i found |
I'm not currently on Linux, so I don't know for sure. You can always uninstall it if it isn't the same. |
Yes, sh is the module name. |
Seem to be working with sh instead of python-sh, but now i have another error:
This seems a lot of strange for me. The pygame version did not give these errors. Someone have a working android_new toolchan to send? |
These are dependencies of python-for-android that buildozer does not (yet) install automatically. Feel free to open an issue about this specifically. For now, just install the missing modules manually. |
ok thanks i will try. |
Can i use this thread to make a list of missing dependencies that i found in the sdl2 toolchan? |
I added sqlite3 in buildozer.spec but raise the following error:
i've tryed to install it with
I am unfamiliar with indeep change in buildozer code, so i removed it from buildozer.spec (i can't fix) |
There is not yet a sqlite3 recipe in the new toolchain, but there is a PR for one. |
Are you saying that they are interchangeable? I don't know PR. I'm not able to find a package with this name on the web. Can explain me please? Excuse my ignorance |
Another error, this time is not for a missing module: this time is not for a missing module:
There is a fast fix? Or i need to go indeep? |
This is a known bug. The workaround is to add 'hostpython2' in the requirements. Also, PR is pull request. In this case it is a submission to python-for-android, not buildozer, you can find the current PRs in the python-for-android github repository. |
@inclement Oh thanks for your explanation. I am unfamiliar with abbreviations used in repositories. |
Found this error:
fixed with |
OK, now the build process work. @inclement I found a similar issue, Touchscreen input with SDL2 bootstrap #516, but i see only the presplash. |
Hello,
Is possible to switch the engine from pygame to sdl2 in buildozer?
I have not seen any setup string about the engine in buildozer.spec file.
I ask this because I have a problem with the size of some widgets that are not positioned / sized as expected. They seem to be different than in windows or linux with sdl2.
Android system: 4.4.2 on galaxy s3 neo (gt-i9301i)
thanks and sorry for my bad english.
The text was updated successfully, but these errors were encountered: