Setting a custom p4a source dir using a freshly cloned 'develop' branch and then building an APK results in a traceback mentioning an AttributeError:
Traceback (most recent call last):
File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/zedr/src/python-for-android/pythonforandroid/toolchain.py", line 1231, in <module>
main()
File "/home/zedr/src/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/home/zedr/src/python-for-android/pythonforandroid/toolchain.py", line 688, in __init__
getattr(self, command)(args)
File "/home/zedr/src/python-for-android/pythonforandroid/toolchain.py", line 155, in wrapper_func
func(self, args, **kw)
File "/home/zedr/src/python-for-android/pythonforandroid/toolchain.py", line 1099, in apk
output, build_args = self._build_package(args, package_type='apk')
File "/home/zedr/src/python-for-android/pythonforandroid/toolchain.py", line 1000, in _build_package
build_args = build.parse_args_and_make_package(
AttributeError: module 'build' has no attribute 'parse_args_and_make_package'
The error does not occur if I use the master branch instead.
# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
p4a.source_dir = ~/src/python-for-android
Versions
Description
Setting a custom p4a source dir using a freshly cloned 'develop' branch and then building an APK results in a traceback mentioning an AttributeError:
The error does not occur if I use the master branch instead.
buildozer.spec
Command:
Spec file: