I've got this error log
[INFO]: Building sdl2 for armeabi-v7a
[INFO]: -> directory context /home/ags/.local/share/python-for-android/build/bootstrap_builds/sdl2-python2/jni
[INFO]: -> running ndk-build V=1
working: Android NDK: Found platform level in /home/ags/.local/share/pytException in thread background thread for pid 5472:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.4-py2.7.egg/sh.py", line 2170, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.4-py2.7.egg/sh.py", line 1929, in fn
return self.command.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.4-py2.7.egg/sh.py", line 672, in handle_command_exit_code
raise exc
ErrorReturnCode_2:
RAN: /home/ags/tryton-project-to-android/android-ndk-r15b/ndk-build V=1
STDOUT:
Android NDK: Found platform level in /home/ags/.local/share/python-for-android/build/bootstrap_builds/sdl2-python2/project.properties. Setting APP_PLATFORM to android-19.
Android NDK: WARNING:/home/ags/.local/share/python-for-android/build/bootstrap_builds/sdl2-python2/jni/src/Android.mk:main: non-system libraries in linker flags: -lpython2.7
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
/home/ags/tryton-project-to-android/android-ndk-r15b/build/core/
build-binary.mk:688: Android NDK: Module main depends on undefined modules: python_shared
/home/ags/tryton-project-to-android/android-ndk-r15b/build/core/
build-binary.mk:701: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.
STDERR:
Traceback (most recent call last):
build-binary.mk:701: *** Android NDK: Aborting (...(and 74 more)
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/ags/tryton-project/trytond/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 905, in <module>
main()
File "/home/ags/tryton-project/trytond/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 902, in main
ToolchainCL()
File "/home/ags/tryton-project/trytond/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 508, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/home/ags/tryton-project/trytond/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 147, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/ags/tryton-project/trytond/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 190, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 565, in build_recipes
File "/home/ags/tryton-project/trytond/.buildozer/android/platform/python-for-android-master/pythonforandroid/recipes/sdl2/__init__.py", line 30, in build_arch
shprint(sh.ndk_build, "V=1", _env=env)
File "pythonforandroid/logger.py", line 175, in shprint
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.4-py2.7.egg/sh.py", line 720, in next
self.wait()
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.4-py2.7.egg/sh.py", line 651, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh-1.12.4-py2.7.egg/sh.py", line 672, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:
RAN: /home/ags/tryton-project-to-android/android-ndk-r15b/ndk-build V=1
STDOUT:
Android NDK: Found platform level in /home/ags/.local/share/python-for-android/build/bootstrap_builds/sdl2-python2/project.properties. Setting APP_PLATFORM to android-19.
Android NDK: WARNING:/home/ags/.local/share/python-for-android/build/bootstrap_builds/sdl2-python2/jni/src/Android.mk:main: non-system libraries in linker flags: -lpython2.7
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
/home/ags/tryton-project-to-android/android-ndk-r15b/build/core/
build-binary.mk:688: Android NDK: Module main depends on undefined modules: python_shared
/home/ags/tryton-project-to-android/android-ndk-r15b/build/core/
build-binary.mk:701: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.
STDERR:
/bin/sh: 2: p4a.bootstrap: not found
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=trytonserver --bootstrap=sdl2 --requirements=python2,sqlite3,kivy --arch armeabi-v7a
p4a.bootstrap = sdl2 --copy-libs --color=always --storage-dir=/home/ags/tryton-project/trytond/.buildozer/android/platform/build
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2