ermitz
ermitz
I had exactly the same issue. The problem is that hostpython3 is built without any modules. I first launched 'hostpython -m site' command : `/home/eric/DEV/Python/games/kivy/wordguess/wordguess/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 -m site` `sys.path = [...
After some investigations, I found that setuptools and other hostpython3 packages were installed here: `/home/eric/DEV/Python/games/kivy/wordguess/wordguess/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages` which is not in sys.path.
After adding following line: `hpenv['PYTHONPATH'] = join(dirname(self.real_hostpython_location), 'Lib', 'site-packages')` in function `install_python_package`, just after `hpenv = env.copy()` in `pythonforandroid/recipe.py` file, I was able to build.