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

How to correctly build an APK package with Python 3? #655

Closed
HeaTTheatR opened this issue Apr 19, 2018 · 1 comment
Closed

How to correctly build an APK package with Python 3? #655

HeaTTheatR opened this issue Apr 19, 2018 · 1 comment

Comments

@HeaTTheatR
Copy link

I get an error when building a package:

ERROR: The appdirs Python module could not be found, please install it
ERROR: The sh Python module could not be found, please install version 1.10 or higher
ERROR: The jinja2 Python module could not be found, please install it.
python-for-android is exiting due to the errors above.
Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=quotessaint --bootstrap=sdl2 --requirements=kivy==master,python3crystax --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/zavulon/Programming/Projects/Python/Mobile/Kivy/QuotesSaints/.buildozer/android/platform/build

Ubuntu 12.10
Python 3.4
Kivy 1.10.0
Buildozer 0.34

The jinja2 module could not be installed because it is supported with Python 3.5. Module appdirs installed. Module sh installed.

bulldozer.spec:

title = Test
package.name = test
package.domain = org.test
source.dir = .
source.include_exts = py,png,jpg,kv,atlas
version = 0.0.1
requirements = kivy==master,python3crystax
orientation = landscape
fullscreen = 1
android.api = 19
android.minapi = 9
android.sdk = 23
android.ndk_path = /home/opt/crystax-ndk-10-3-2
p4a.branch = master
android.arch = armeabi-v7a
log_level = 2
warn_on_root = 1

@inclement
Copy link
Member

Closing as stale, probably fixed in p4a master or a local issue.

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

2 participants