-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multiple platforms #13
Comments
Can you add some more info about how it actually failed? What was the error / problem? |
Unfortunately not. I greped through my notes but I only jotted down something like: "Tried with --arch=x86, failed, will try later". Also, the sample app I used back then does not work anymore with current SDK/NDK/p4a versions. I guess the most straight-forward approach, for someone you wants to take care of this ticket, is to go through the kivy docs (link above), copy-paste a new sample app and try again. |
Re the @kivy/python-for-android build process: After updating the NDK to r13b, the following
Neither of the Output:
|
TBH, only the two ARM targets are probably of any actual relevance. |
Thanks for the insight. If I remember correctly, we did indeed have a hard time sourcing non-ARM Android handhelds for the lab. |
Our
gradle
file is currently configured to build forarmeabi-v7a
only, i.e. ARM CPU with 32-bit instruction set.It would be great to support additional architectures, above all ARM/64-bit (which seems to become more and more popular). Here is a list of all supported ABIs.
Building a fat binary that targets multiple architectures should be as easy as adding the desired ABIs to the right line in
build.gradle
.Additionally, and this is where it gets tricky, we need a
libpython2.7.so
for each desired ABI.Since cross-compling Python for Android is everything but straight-forward I created an example app using
kivy's python-for-android
, extracted the generatedlibpython2.7.so
and copied it together with the header files into our app.Back then a quick try to build for anything else but
armeabi-v7a
failed. It would be worth to try again.The text was updated successfully, but these errors were encountered: