Unreal Integrating a Java App with Unreal

Anyone have some Unreal and Java Experience , I have this Java code linked with a thirdparty sdk … which works when i make apk from android but does not work when i run it through JNI using Unreal.

Running it from Android Studio :-
– Create a testActivity
– Make all the other classes access through this testActivity (using testAcitivity as context).

Running it from Unreal :-
– use GameActivity asa the context for my all the other classes.
– using JNI to call the function in Java using an Static java class… which is accessed by a C++ class.

Crash came from SDK internal Libraries related to SCUDO : Error : Corrupted Chunk Header

Anyone have any clue what this might be ?