Skip to content

Bug with android.p4a_whitelist in buildozer.spec file. #302

@MohsenHassani

Description

@MohsenHassani

Hello guys,

I needed to use unittest for raven, so I added it to android.p4a_whitelist. After compilation and installing the apk file, the application would get closed because there was an error: not being able to import 'unittest'.
For solving the problem, with help of tshirtman in IRC I included 'unittest/*' in the file:
my_project/.buildozer/android/platform/python-for-android/dist/<name_of_my_project>/whitelist.txt

So I guess the during compilation procedure Buildozer ignores android.p4a_whitelist in spec file.

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