JNI: Init´d AndroidJavaClass with Null ptr!

Hi everyone …
I am make a android plugin for unity … and when i have all files, unity shows me error

Exception: JNI: Init'd AndroidJavaClass with null ptr!
UnityEngine.AndroidJavaClass..ctor (IntPtr jclass) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Export/AndroidJavaImpl.cs:533)
UnityEngine.AndroidJavaObject.get_JavaLangClass () (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Export/AndroidJavaImpl.cs:511)
UnityEngine.AndroidJavaObject.FindClass (System.String name) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Export/AndroidJavaImpl.cs:502)
UnityEngine.AndroidJavaClass._AndroidJavaClass (System.String className) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Export/AndroidJavaImpl.cs:522)
UnityEngine.AndroidJavaClass..ctor (System.String className) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/ExportGenerated/Editor/AndroidJava.cs:91)
Bridge.ReturnInt () (at Assets/Bridge.cs:25)
PluginController.Start () (at Assets/PluginController.cs:12)

the name packageis same, the error shows me unity and i dont now why…
someone knows that? helpme please

Hi,
You must run on actual android device.Off course you will get “Exception: JNI: Init’d AndroidJavaClass with null ptr!” when you run it in editor.Try to run it on actual android device your problem will be fixed…