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
Trying to build an Android APK with the following Python3 requirements: argparse, azure-keyvault, msrest, adal, keyring, pyperclip. Source code available here.
I'm using this docker image.
The APK builds successfully. But the app crashes on start and looking through logcat shows "no module named 'requests'.
I've tried following the instructions here, but this resulted in a similar crash on start. This time, logcat shows "no module named 'cryptography'".
buildozer.spec
Command:
buildozer android debug deploy run
Spec file:
[app]
# (str) Title of your application
title = Hush
# (str) Package name
package.name = hush
# (str) Package domain (needed for android/ios packaging)
package.domain = mibarg.hush
# (str) Source code where the main.py live
source.dir = .
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas
version = 1.0
android.permissions = INTERNET
orientation = all
requirements = python3crystax,kivy,argparse,azure-keyvault,msrest,adal,keyring,pyperclip
android.ndk_path = /opt/crystax-ndk-10.3.2
[buildozer]
log_level = 2
Yes then you need to explicitly put all the dependencies and sub-dependencies that're required by your app in your requirements.
Also note that you're using crystax which is not the recommended method anymore. Please use the pure python3 recipe
For further support requests I would recommend to use the support channel (e.g. chat or forum)
Versions
Running on docker image: https://hub.docker.com/r/bodolsog/py3-kivy-buildozer
Description
Trying to build an Android APK with the following Python3 requirements: argparse, azure-keyvault, msrest, adal, keyring, pyperclip. Source code available here.
I'm using this docker image.
The APK builds successfully. But the app crashes on start and looking through logcat shows "no module named 'requests'.
I've tried following the instructions here, but this resulted in a similar crash on start. This time, logcat shows "no module named 'cryptography'".
buildozer.spec
Command:
Spec file:
Logs
logcat.txt
The text was updated successfully, but these errors were encountered: