Closed Neizvestnyj closed 2 years ago
Hi @Neizvestnyj ,
Did you had a chance to test https://github.com/kivy/python-for-android/pull/2586 ? It includes a lot of fixes, including one for matplotlib
, that may target the issue you're encountering.
matplotlib
works fine, but I get this error[INFO]: Building lapack for armeabi-v7a [INFO]: -> directory context /home/neizvestnyj/AndroidApps/<APP>/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/lapack/armeabi-v7a__ndk_target_21/lapack/build Traceback (most recent call last): File "/home/neizvestnyj/anaconda3/envs/<APP>/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/neizvestnyj/anaconda3/envs/<APP>/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/neizvestnyj/AndroidApps/p4a/misl6-p4a/pythonforandroid/toolchain.py", line 1297, in <module> main() File "/home/neizvestnyj/AndroidApps/p4a/misl6-p4a/pythonforandroid/entrypoints.py", line 18, in main ToolchainCL() File "/home/neizvestnyj/AndroidApps/p4a/misl6-p4a/pythonforandroid/toolchain.py", line 731, in __init__ getattr(self, command)(args) File "/home/neizvestnyj/AndroidApps/p4a/misl6-p4a/pythonforandroid/toolchain.py", line 154, in wrapper_func build_dist_from_args(ctx, dist, args) File "/home/neizvestnyj/AndroidApps/p4a/misl6-p4a/pythonforandroid/toolchain.py", line 213, in build_dist_from_args build_recipes(build_order, python_modules, ctx, File "/home/neizvestnyj/AndroidApps/p4a/misl6-p4a/pythonforandroid/build.py", line 528, in build_recipes recipe.build_arch(arch) File "/home/neizvestnyj/AndroidApps/p4a/misl6-p4a/pythonforandroid/recipes/lapack/__init__.py", line 39, in build_arch env = self.get_recipe_env(arch) File "/home/neizvestnyj/AndroidApps/p4a/misl6-p4a/pythonforandroid/recipes/lapack/__init__.py", line 25, in get_recipe_env sysroot = f"{self.ctx.ndk_dir}/platforms/{env['NDK_API']}/{arch.platform_dir}" AttributeError: 'ArchARMv7_a' object has no attribute 'platform_dir'
I guess that https://github.com/kivy/python-for-android/pull/2615 needs to be ported to the WIP PR I previously mentioned.
Hopefully, after a pyjnius
release (that was postponed due to an issue with PyPy) I will be able to resume the WIP PR, in order to get it merged and well-integrated with all the latest changes.
ETA is this weekend 🤞
Fixed via #2586, feel free to re-open the issue if you're still encountering it on the develop
branch.
Versions
buildozer.spec
log.txt