question

iasoftware avatar image
iasoftware asked

Unity3d plugin not working with Prime31 plugins

Hello, I am trying to add the Unity plugin for In-App purchasing to my app, but it crashes when running on the device. I have already tried to locate the problem, but I could not find the reason for this crash. We use some prime31 plugins for SocialNetworking, ... and think that this is related to the crash, because the demo project, given in the unitypackage, works fine without any problems. Does anyone know how to fix this problem or could give me some advice? Here is the log from `adb logcat`: 09-16 15:05:39.776: I/Unity(2057): Exception: java.lang.NoSuchMethodError: no static method with name='forName' signature='(Ljava/lang/String;)Ljava/lang/Object;' in class Ljava/lang/Class; 09-16 15:05:39.776: I/Unity(2057): at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in :0 09-16 15:05:39.776: I/Unity(2057): at UnityEngine.AndroidJNISafe.GetStaticMethodID (IntPtr clazz, System.String name, System.String sig) [0x00000] in :0 09-16 15:05:39.776: I/Unity(2057): at UnityEngine._AndroidJNIHelper.GetMethodID (IntPtr jclass, System.String methodName, System.String signature, Boolean isStatic) [0x00000] in :0 09-16 15:05:39.776: I/Unity(2057): at UnityEngine.AndroidJNIHelper.GetMethodID (IntPtr javaClass, System.String methodName, System.String signature, Boolean isStatic) [0x00000] in :0 09-16 15:05:39.776: I/Unity(2057): at UnityEngine._AndroidJNIHelper.GetMethodID[AndroidJavaObject] (IntPtr jclass, System.String methodName, System.Object[] args, Boolean isStatic) [0x00000] in :0 09-16 15:05:39.776: I/Unity(2057): at UnityEngine.AndroidJNIHelper.GetMethodID[AndroidJavaObject] (IntPtr jclass, System.String methodName, System.Object[] ar 09-16 15:05:39.870: D/Unity(2057): System memory in use before: 3.1 MB.
iap
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Bipin@Amazon avatar image
Bipin@Amazon answered
Released a new version of SDK.zip package. Please download the latest version of SDK.zip package and this would resolve your issue.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.