How to call Java methods from C++ in JNI

前端 未结 2 1802
鱼传尺愫
鱼传尺愫 2021-01-01 07:43

So I\'m writing an Android app which uses a large c++ library. I have everything working so that the java app can call the c++ delegation methods, but I\'m finding myself w

2条回答
  •  旧时难觅i
    2021-01-01 08:38

    Logging is placed at '#include ' header file.

    To link .so, place 'LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog' at your make file.

提交回复
热议问题