Home Posts About Admin

Previous Next

Buildozer create android app

Jan. 22, 2022, 12:44 a.m. by lufy


1. wget failed cause of unstable connection to: https://www.sqlite.org/2021/sqlite-amalgamation-3350500.zip 

Resolved: edit ./.buildozer/android/platform/python-for-android/pythonforandroid/recipes/sqlite3/__init__.py, change the url to http://lufy.org:20081/tools/sqlite-amalgamation-3350500.zip 

2. pip found no openssl package when cross building

Resolved: edit ./.buildozer/android/platform/python-for-android/pythonforandroid/build.py, change build.py, change module name to pyopenssl when openssl met.

3. Cython met not find available version

Resolved: install libffi-devel and rebuild python

4. Needed packages:

wget
java
java-1.8.0-openjdk-devel
patch
gcc
make
autoconf
automake
libtool
lld
libffi-devel
python3
zlib-devel
sqlite
nss-devel
openssl-devel
zip

5. Build commands:

buildozer --profile demo android clean

buildozer --profile demo android debug

 


Previous Next

Comment is not approved to this article.