easy_mace icon indicating copy to clipboard operation
easy_mace copied to clipboard

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

Open zhangkom opened this issue 6 years ago • 1 comments

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 avatar Jul 13 '18 02:07 zhangkom

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.

conansherry avatar Jul 16 '18 02:07 conansherry