Skip to content

P4a 2026 - severall problems about installation #3342

Description

@pakheper

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

That'all so far.

Activity

  1. T-Dynamos commented on Jun 1, 2026

    @T-Dynamos
    Member

    @pakheper Please share full log, errors that are you describing are not errors but just warnings (yes labeled wrong).

  2. pakheper commented on Jun 1, 2026

    @pakheper
    Author

    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

  3. T-Dynamos commented on Jun 1, 2026

    @T-Dynamos
    Member

    @pakheper Ensure you have Cython>=0.29,<3.1 in your system.

    Then retry, also do post full command used.

  4. pakheper commented on Jun 2, 2026

    @pakheper
    Author
  5. T-Dynamos commented on Jun 2, 2026

    @T-Dynamos
    Member

    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?

  6. pakheper commented on Jun 2, 2026

    @pakheper
    Author
  7. pakheper commented on Jun 5, 2026

    @pakheper
    Author

    have you got infos about this build log?

  8. github-actions commented on Jun 11, 2026

    @github-actions

    👋 @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions