protected override int _add(VirtualItem item, int amount, bool notify){ Debug.Log("To notify? " + notify); int retBalance; AndroidJNI.PushLocalFrame(100); using(AndroidJavaClass jniStorageManager = new AndroidJavaClass("com.soomla.store.data.StorageManager")) { using(AndroidJavaObject jniVCStorage = jniStorageManager.CallStatic<AndroidJavaObject>("getVirtualCurrencyStorage")) { Debug.Log(">>>>>>>>before call"); retBalance = jniVCStorage.Call<int>("add", item.ItemId, amount, notify); Debug.Log(">>>>>>>>after call"); } } AndroidJNI.PopLocalFrame(IntPtr.Zero); Debug.Log(">>>>>>>>ADD END"); return retBalance; }