Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MohsenHassani opened this issue Nov 20, 2014 · 3 comments
Closed

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

MohsenHassani opened this issue Nov 20, 2014 · 3 comments

Comments

@MohsenHassani
Copy link

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.

@kived
Copy link
Contributor

kived commented Nov 20, 2014

Buildozer is adding the whitelist entries to the p4a source whitelist instead of the distribution whitelist. So if a distribution has already been built with p4a, then changing the whitelist will have no effect. Really Buildozer shouldn't be modifying the source whitelist at all.

@FeralBytes
Copy link
Contributor

So isn't this a bug with Buildozer then and not p4a? Opened issue here and I recommend this issue be closed as it is not an issue with p4a.

@tito
Copy link
Member

tito commented Mar 8, 2015

This has already been fixed in kivy/buildozer@b17a0ef

@tito tito closed this as completed Mar 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants