# Forwarding JNI init calls to plugin

**URL:** <https://forums.unrealengine.com/t/forwarding-jni-init-calls-to-plugin/278018>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, UE4, CPP, question\
**Created:** [March 23, 2014, 5:59am UTC](https://forums.unrealengine.com/t/forwarding-jni-init-calls-to-plugin/278018 "2014-03-23T05:59:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wraiyth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wraiyth](https://forums.unrealengine.com/u/Wraiyth)\
**Post date:** [March 23, 2014, 5:59am UTC](https://forums.unrealengine.com/t/forwarding-jni-init-calls-to-plugin/278018/1 "2014-03-23T05:59:52Z")

</div>

It’d be awesome to have the JNI initialization functions forwarded to plugins - I’m currently looking at creating a few various Android plugins but it seems that trying to lookup functions crashes when not done in JNIOnLoad.  
Any suggestions on whether this would be doable or when it could come in?

Seems like the plugin capabilities of the mobile version is seriously limited as well. Any plans to improve that?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_26858b0f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_26858b0f](https://forums.unrealengine.com/u/anonymous_user_26858b0f)\
**Post date:** [June 7, 2021, 9:10am UTC](https://forums.unrealengine.com/t/forwarding-jni-init-calls-to-plugin/278018/2 "2021-06-07T09:10:56Z")

</div>

Are there any solutions for this issue ?  
We are building a plugin that relies on Android/iOS native SDKs, and C++ interface only behaves as a wrapper to native SDKs.

We are having issues with JNI methods/classes not founded due to no dex classes found on path. Any help would be appreciated.
