Pytorch not compatible with React-native

I’ve been using react native for one of my module.Recently we started using Pytorch . Pytorch along with react native is crashing.
Below is the error

java.lang.UnsatisfiedLinkError: couldn’t find DSO to load: libpytorch_jni.so caused by: dlopen failed: cannot locate symbol “_ZN8facebook3jni10JByteOrder11nativeOrderEv” referenced by “/data/app/*****-4ZGDZJcLItKdhIsz3hj2rQ==/lib/arm/libpytorch_jni.so”.

Please help me.I am in great urgency.

Hey @Arun_Kumar1

Could you please share a snippet of the PyTorch code that causing this error? Why do you think this relates to torch.distributed or torch.distributed.rpc? Are you using these two packages? It seems to me this questions should be posted under mobile build and Java bindings tag?

True .I didn’t notice .It should be tagged under mobile