buildozer android_new debug deploy run' and it generates the following error:
[INFO]: -> running gcc -dumpmachine
('path is', '/Users/fgould/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86/bin/:/Users/fgould/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/:/Users/fgould/.buildozer/android/platform/android-ndk-r9c:/Users/fgould/.buildozer/android/platform/android-sdk-21/tools:/Users/fgould/.buildozer/android/platform/apache-ant-1.9.4/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/apache-ant/bin:/Users/fgould/.buildozer/android/platform/android-sdk-21:/Users/fgould/.buildozer/android/platform/android-sdk-21/tools:/Users/fgould/.buildozer/android/platform/android-sdk-21/platform-tools')
[INFO]: -> running cp /Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/recipes/python2/Setup.loca...(and 25 more)
[INFO]: -> running sed -i s#^SSL=.*#SSL=/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/build/build/other_builds/openssl/armeabi-v7a/openss...(and 22 more)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 798, in <module>
main()
File "/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 795, in main
ToolchainCL()
File "/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 470, in __init__
getattr(self, args.subparser_name.replace('-', '_'))(args)
File "/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 146, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/toolchain.py", line 189, in build_dist_from_args
build_recipes(build_order, python_modules, ctx)
File "pythonforandroid/build.py", line 561, in build_recipes
File "/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/recipes/python2/__init__.py", line 44, in build_arch
self.do_python_build(arch)
File "/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/recipes/python2/__init__.py", line 100, in do_python_build
shprint(sh.sed, '-i', 's#^SSL=.*#SSL={}#'.format(openssl_build_dir), setuplocal)
File "pythonforandroid/logger.py", line 173, in shprint
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sh.py", line 565, in next
self.wait()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sh.py", line 500, in wait
self.handle_command_exit_code(exit_code)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sh.py", line 516, in handle_command_exit_code
raise exc(self.ran, self.process.stdout, self.process.stderr)
sh.ErrorReturnCode_1:
RAN: '/usr/bin/sed -i s#^SSL=.*#SSL=/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/build/build/other_builds/openssl/armeabi-v7a/openssl# Modules/Setup.local'
STDOUT:
sed: 1: "Modules/Setup.local": invalid command code M
STDERR:
# Command failed: python -m pythonforandroid.toolchain create --dist_name=slideshow --bootstrap=sdl2 --requirements=kivy,openssl,pyopenssl --arch armeabi-v7a --copy-libs --local-recipes /Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/python-for-android/recipes --color=always --storage-dir=/Users/fgould/ViewPix/Slideshow/.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
I have log_level = 2 to generate the above and truncated just before the error occurred. I don't see anything but warnings above this error message. I've searched online and could not find a solution. All help appreciated.
p4a.local_recipes = %(source.dir)s/.buildozer/android/platform/python-for-android/recipes
E/dalvikvm( 2326): dlopen("/data/app-lib/com.masterpics.slideshow-1/libpython2.7.so") failed: dlopen failed: cannot locate symbol "pow" referenced by "libpython2.7.so"...
[INFO]: -> running sed -i s#^SSL=.*#SSL=/Users/fgould/ViewPix/Slideshow/.buildozer/android/platform/build/build/other_builds/openssl/armeabi-v7a/openssl# Modules/Setup.local
sudo apt-get install build-essential libtool