Skip to content

The compiled APK crashes with error on _imaging.so: not found #335

@GijsTimmers

Description

@GijsTimmers

I want to compile a Python program. I'm using the following steps to do so:

  1. git clone git://github.com/kivy/python-for-android
  2. cd python-for-android
  3. ./distribute.sh -m "openssl pil kivy mechanize pygments sqlite3" -f
  4. cd dist/default
  5. ./build.py --package org.me.myname --name "proof-of-concept" --version 1.3 --dir /home/me/Scripts/proof-of-concept/app-development --orientation portrait --window debug
  6. adb install bin/proof-of-concept-1.3-debug.apk

The app will then install successfully, but it crashes immediately after the presplash, with this error:

03-12 12:27:52.972: E/dalvikvm(9496): dlopen("/data/data/org.me.myname/files/lib/python2.7/lib-dynload/_imaging.so") failed: dlopen failed: library "/data/data/org.me.myname/files/lib/python2.7/lib-dynload/_imaging.so" not found

I don't know what this could be, I've searched online and read posts telling me to include pil, sqlite3, and openssl, but even when doing so, this error persists.

Could you help me?

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