I am currently head-butting my desk after working on this problem for a couple of days.
My native android app loads a class at runtime, this works I have followed this tutorial to get the dexed jar from the assets folder and have loaded the class and called it's static methods successfully.
However if I run a...
env->FindClass("TheClass");
... It throws a java exception.
Here the the relevant bit of the code
//this works find and gives me a usable class
jclass shim_class = helper.LoadClassFromAssetsJar("test.jar","TheClass");
// this throws the exception
jclass refound_shim_class = jni->FindClass("TheClass");
Any help would be incredible, cheers folks