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
{{ message }}
Repository navigation
P4a 2026 - severall problems about installation #3342
Hello
i tried to install p4a last version 2026 in a VMware ubuntu 22.04 and 26.04
NDK tried ndk 28c as recommanded and later 29 and 25c
SDK : latest
i use python-for-android not buildozer, i installed all previous p4a versions like that
compile apk p4a 2026 crashed in all cases with major errors
error messages : no version pyjnius 1.7.0 found , no module android found, no module cython
I installed Cython with pip3 install Cython==3.0.12 before building app apk
I installed this version after i saw the p4a recipes for pyjnius and android modules:
FYI the build of my app works fine in pa4 2023.05 and p4a 2024.01 but Cython version is older : Cython 0.29 for my P4a 2023.
here is Cython version and path for my current P4a 2026 environment
***@***.***:~$ pip3 freeze | grep Cython
Cython==3.0.12
***@***.***:~$ locate Cython
/home/pa/.local/lib/python3.14/site-packages/Cython
/home/pa/.local/lib/python3.14/site-packages/Cython-3.0.12.dist-info
/home/pa/.local/lib/python3.14/site-packages/Cython/Build
/home/pa/.local/lib/python3.14/site-packages/Cython/CodeWriter.py
/home/pa/.local/lib/python3.14/site-packages/Cython/Compiler
/home/pa/.local/lib/python3.14/site-packages/Cython/Coverage.py
/home/pa/.local/lib/python3.14/site-packages/Cython/Debugger
/home/pa/.local/lib/python3.14/site-packages/Cython/Debugging.py
/home/pa/.local/lib/python3.14/site-packages/Cython/Distutils
….
is it a wrong path for Cython?
Something is broken in build, cython is provided by hostpython3, which is missing, but android has hostpython_prerequisites = ["Cython>=0.29,<3.1"] -- so should have been installed before building android. But it's not. So could you clean build with P4A_FULL_DEBUG=1 and then share logs?
Here is a new build.log after 'p4a clean_builds' and 'export P4A_FULL_DEBUG=1' commands
Envoyé avec un e-mail sécurisé [Proton Mail](https://proton.me/mail/home).
Le mardi 2 juin 2026 à 11:30, Ansh Dadwal ***@***.***> a écrit :
👋 @pakheper,
Sorry to hear you are having difficulties with Kivy's python-for-android; Kivy unites a number of different technologies, so building apps can be temperamental.
We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to python-for-android.
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 python-for-android, please see our quickstart guide.
If you're having trouble using python-for-android, please see our troubleshooting guide and FAQ.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.
Activity
T-Dynamos commentedon Jun 1, 2026
@pakheper Please share full log, errors that are you describing are not errors but just warnings (yes labeled wrong).
pakheper commentedon Jun 1, 2026
Here is a compile log with targetsdk =30 (same error with targetsdk = 27)
context : Vmware ubuntu 26.0 (same result with ubuntu 22.04)
i installed p4a with pip install , i had similar result with the branch version
p4a-build.log
T-Dynamos commentedon Jun 1, 2026
@pakheper Ensure you have
Cython>=0.29,<3.1in your system.Then retry, also do post full command used.
pakheper commentedon Jun 2, 2026
T-Dynamos commentedon Jun 2, 2026
Something is broken in build,
cythonis provided by hostpython3, which is missing, but android hashostpython_prerequisites = ["Cython>=0.29,<3.1"]-- so should have been installed before building android. But it's not. So could you clean build withP4A_FULL_DEBUG=1and then share logs?pakheper commentedon Jun 2, 2026
pakheper commentedon Jun 5, 2026
have you got infos about this build log?
github-actions commentedon Jun 11, 2026
👋 @pakheper,
Sorry to hear you are having difficulties with Kivy's python-for-android; Kivy unites a number of different technologies, so building apps can be temperamental.
We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to python-for-android.
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 python-for-android, please see our quickstart guide.
If you're having trouble using python-for-android, please see our troubleshooting guide and FAQ.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.