Buildozer Numpy Runtimeerror: Broken Toolchain: Cannot Link A Simple C Program
Solution 1:
This issue is reported in Python for Android (p4a) project here, didn't knew it's actual for stable p4a. Nevertheless, by link you can find PR that fixes issue. I didn't test it, but different people say it works.
You can try to build numpy with this fix, here's what you'll need:
Make sure you clean all left from current building process with command:
buildozer distclean
Clone p4a branch with fix using command:
git clone -b p4a_numpy_fix https://github.com/mahomahomaho/python-for-android fix-numpy
Change your
buildozer.spec
to use this cloned version of p4a (use your actual path):p4a.source_dir = /home/ubuntu/p4a_numpy_fix
And run building apk again. If everything will work fine, you'll be able to build apk. If not you'll face another errors, no guarantees here :(
Post a Comment for "Buildozer Numpy Runtimeerror: Broken Toolchain: Cannot Link A Simple C Program"