Skip to content

"crystax_python does not exist" with python3crystax #1105

Description

@eudoxos

I am new to buildozer/kivy and I tried to build the camera example and run it on the phone. I cloned buildozer git repo and installed buildozer (via python3 setup.py install). Then I downloaded the latest release from crystax.net and after buildozer.init, I change in the buildozer.spec:

title = Kivy Camera Examples
package.name = KivyCamEx
requirements = kivy==master, python3crystax
android.ndk = 10.3.2
android.ndk_path = /home/user/kivy/crystax-ndk-10.3.2

When I run buildozer android debug deploy run logcat I find the problematic spot here:

08-30 14:17:56.750 18316 18336 I python  : Initialize Python for Android
08-30 14:17:56.750 18316 18336 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
08-30 14:17:56.750 18316 18336 I python  : /data/user/0/org.test.kivycamex.kivycamex/files/app
08-30 14:17:56.751 18316 18336 I python  : Preparing to initialize python
08-30 14:17:56.751 18316 18336 I python  : crystax_python does not exist
08-30 14:17:56.789 18316 18336 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 18336 (SDLThread)

Inspecting the .buildozer directory, I can see android/platform/build/dists/crystax_python/crystax_python but when I inspect the APKs (android/platform/build/dists/KivyCamEx/bin, they are both (plain and unaligned) only 2.6MB in size and do not contain crystax_python.

Is that an error? Omission? In kivy/buildozer#529, the reporter implies setting python3crystax + pointing to the NDK is sufficient to get running with python3, which is not the case here. Similarly in #752 where the reporter only add python3crystax to requirements and has crystax_python exists in the log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions