You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
Hello guys,
I needed to use
unittest
forraven
, so I added it toandroid.p4a_whitelist
. After compilation and installing theapk
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.
The text was updated successfully, but these errors were encountered: