Call Android method in C#

My java code :

package com.test.callmethod

public class A{
    public static class B{
        public static void Fun(int number){
        }
    }
}

My C# code :

using (var playerClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
{
    using (var pluginInstance = new AndroidJavaClass("com.test.callmethod.A"))
    {
        using (var Instance = new AndroidJavaObject("com.test.callmethod.A$B"))
        {
            Instance.CallStatic("Fun", 1);
        }
    }
}

And Always get this error :
AndroidJavaException: java.lang.NoSuchMethodError: no static method with name=‘Fun’

how do I fix this ?

What is eventInstance variable?

Sorry, its Instance.CallStatic(“Fun”, 1);
That was a typo

Check the minification settings in Player Settings publishing section. Minification can rename your Java stuff.
I think we enable it by default in Release builds, but not in Development, so you can try switching to Development.