Skip to content

Python3 doesn't work on Android #484

@inclement

Description

@inclement

I'm posting this issue so that anyone looking can see the current state of things.

Right now, p4a has a python3 recipe using some sl4a patches for python 3.4. These allow it to compile, but python crashes during Py_Initialize on the device. The reason could be some problem with these patches, or something in our extra patches to change how libs are loaded (I haven't tried without these, this might be worth looking at).

I'm currently investigating this by starting to redirect python's internal logging to logcat (as this crash happens before we can do this globally for python-level logs). Another option would be to use remote gdb, but this is fiddly.

Any input or testing from others is welcome here - I don't really know what's wrong, and don't have a lot of ideas for how to continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions