Sunday, February 9, 2014

On the basis of the problem android ndk jni


            
1. Android sdk loaded so the file is to compile NDK, or you can compile linux.
2. Android sdk load ndk compiled so files, you need to write jni.

Reply:
Find some relevant information to see yourself on the O
Reply:
1, android sdk loaded so the file is to compile NDK, or you can compile linux, both can, I used to use the former, the former, then go online after the next ndk environment configured, you can use it. Moment of the beginning of the Android NDK can have a sample file below, under the command familiar with how to compile.
2, android sdk load ndk compiled so files, you need to write jni.
To invoke the so library, jni file is needed. Of course jni files can be written in accordance with their own needs, swig hand tools can also be used to generate. The next online tool can be.
Reply:
If the compiler is not to use linux cross compiler. With arm platform. Or x86 platform line
Reply:
After high version of ndk can compile a script written mk do not need to take any environment
Reply:
Upstairs experimented with it, determined under linux x86 compiler. So file, android NDK can call in the windows?

No comments:

Post a Comment