Refactoring jni interface, add arm abi support.