add platform into jni