add getPackageName, fix a error of jnihelper