Buildozer create android app lufy January 21, 2022 <p>1. wget failed cause of unstable connection to: <a href="https://www.sqlite.org/2021/sqlite-amalgamation-3350500.zip">https://www.sqlite.org/2021/sqlite-amalgamation-3350500.zip</a> </p> <p>Resolved: edit ./.buildozer/android/platform/python-for-android/pythonforandroid/recipes/sqlite3/__init__.py, change the url to <a href="http://lufy.org:20081/tools/sqlite-amalgamation-3350500.zip">http://lufy.org:20081/tools/sqlite-amalgamation-3350500.zip</a> </p> <p>2. pip found no openssl package when cross building</p> <p>Resolved: edit ./.buildozer/android/platform/python-for-android/pythonforandroid/build.py, change build.py, change module name to pyopenssl when openssl met.</p> <p>3. Cython met not find available version</p> <p>Resolved: install libffi-devel and rebuild python</p> <p>4. Needed packages:</p> <p>wget<br />java<br />java-1.8.0-openjdk-devel<br />patch<br />gcc<br />make<br />autoconf<br />automake<br />libtool<br />lld<br />libffi-devel<br />python3<br />zlib-devel<br />sqlite<br />nss-devel<br />openssl-devel<br />zip</p> <p>5. Build commands:</p> <p>buildozer --profile demo android clean</p> <p>buildozer --profile demo android debug</p> <p> </p>
Comments (0)
Leave a Comment
No comments yet. Be the first to comment!