-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Android.mk #107
Android.mk #107
Conversation
Thanks for the contribution. Would you mind adding a few sentences on how to use this stuff to the Usage section of the docs? I guess Android developers should now this, so there is no need to go into much details, but it might be useful at least to give this more visibility. |
Yes yo can add info to use you library under Android developer just need to add few lines to their Android.mk |
Could you please elaborate a bit or give an example. I've copied cppformat to NDK samples and tried to adapt one of them to use the library, but cannot get it to work:
Setting
Here's the
Sorry for naive questions, I haven't used NDK before. |
Here is mine
$(call import-module,../../cppformat) must be relative to jni folder "Are you sure your NDK_MODULE_PATH variable is properly defined" - it look like you path is wrong P.P.S
|
I've created a small repository that contains an example of using cppformat with Android NDK: https://github.com/cppformat/android-ndk-example Unfortunately it doesn't work yet - I get various errors when trying to build it. Could you by any chance have a look at it and tell me what I'm doing wrong? Since you have much more experience in Android development, you'll probably see what's wrong straight away while it will take me ages to figure it out. I'm using this script for building which simply runs Thanks! |
Fixed small bug in Android.mk |
Awesome, thanks! |
Android.mk for android builds