(It is difficult to configure the NDK. The new version of the NDK no longer requires cygwin and has been integrated. It is also found that there are two different methods, depending on whether the local function is placed in the activity or in a separate user-defined function)