Skip to content
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

how to use libprotobuf-lite.a and libeasy_mace.a in android #3

Open
zhangkom opened this issue Jul 13, 2018 · 1 comment
Open

how to use libprotobuf-lite.a and libeasy_mace.a in android #3

zhangkom opened this issue Jul 13, 2018 · 1 comment

Comments

@zhangkom
Copy link

zhangkom commented Jul 13, 2018

please some questions.

after do make.sh, I have got two libs as following:

/easy_mace/mace/obj/local/armeabi-v7a$ ls
libeasy_mace.a libprotobuf-lite.a objs

how can I use in android, just porting these two libs to android project? And where is the head files?

@zhangkom zhangkom changed the title how to use libprotobuf-lite.a how to use libprotobuf-lite.a and libeasy_mace.a Jul 13, 2018
@zhangkom zhangkom changed the title how to use libprotobuf-lite.a and libeasy_mace.a how to use libprotobuf-lite.a and libeasy_mace.a in android Jul 13, 2018
@conansherry
Copy link
Owner

conansherry commented Jul 16, 2018

you need to write your code linked with these two static libraries and write jni file in c/cpp wrapped with java files.
finally, you can write your application with java files in your app.

you can google 'jni' to get more infomation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants