JNA way cross-compile C / C ++ project file for Java use (and record some pit filled pit method encountered during compilation)

As the course of the project needs to call Java C / C ++ interfaces, then need to use the NDK way cross-compiler to generate dynamic libraries so, NDK environment to build a lot of online information, not repeat them, should be noted that the actual use of the system version corresponds to Andrews on (Application.mk), otherwise the Java compiler library files may not search, Android.mk inside if you need to load third-party libraries, it must be static library, it is best to take NDK with a good cross-compiler tool chain again compiled.

The following documents are actually compile C / C ++ course of the project as well as some of the stepped pit filled pit method, recording some confusion for reference only.

Documents Address: https://download.csdn.net/download/dianzi520sua/11484785

Released five original articles · won praise 0 · Views 253

Guess you like

Origin blog.csdn.net/DIANZI520SUA/article/details/98622392