-
Notifications
You must be signed in to change notification settings - Fork 25
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
compile-android problem #9
Comments
https://developer.android.com/ndk/guides/abis Looks like the armeabi, mips and mips64 ABIs have been removed from the NDK as they're no longer supported. I'll update the plugin to reflect these changes. |
so it is correct that I generate the "wrong" .so files? Then I thought maybe I had to update the version of the NDK so I downloaded version 18, and during
Thanks for the support. |
The NDK has been made several backwardly-incompatible changes since I created this plugin so I need to update the plugin to work with the new NDK versions - I'm working on it. See google/filament#15 (comment) for a solution to the toolchain error. |
Perfect thank you. |
one last thing: which version of NDK did you used to compile to .so files? |
originally v11 (the .so files that are currently in this repo). Now I've also upgraded to v18 but now having issues getting them to work - the JNI interface is not finding the native functions. Probably due to breaking changes between v11 and v18. |
@LucaTrip I've finally managed to get Android building and working with NDK v18 - just pushed a commit containing the changes. |
Just tested with
However, I believe this due to a bug (or bugs) in I understand there'll be a |
great @dpa99c! Now it also works with cordova@7.1.0 and correctly generates the .so files. Thanks for the support. |
Hello,
I'm editing the files .c and .h in the /src/common/ but when I go to run compile-android it just generates the .so for arm64-v8a, armeabi-v7a, x86 and x86_64 architectures, omitting armeabi, mips and mips64.
This is the output:
Once the lib.so is generated, I remove the android platform, re-add it and I get this error back
How do I generate the missing architectures? is my flow wrong?
Thanks
The text was updated successfully, but these errors were encountered: