bugfender / BugfenderSDK-Unity

MIT License
0 stars 0 forks source link

BugFender Throwing Error on Android in Unity 6 Preview 21 Patch #4

Open kenofori opened 3 days ago

kenofori commented 3 days ago

On android build, BugFender throwing following error, please advise:

AndroidJavaException: java.lang.NoSuchMethodError: no static method with name='enableUIEventLogging' signature='(Landroid.app.Application;)V' in class Ljava.lang.Object; java.lang.NoSuchMethodError: no static method with name='enableUIEventLogging' signature='(Landroid.app.Application;)V' in class Ljava.lang.Object; com.unity3d.player.ReflectionHelper.getMethodID(SourceFile:0) com.unity3d.player.UnityPlayerForActivityOrService.nativeRender(Native Method) com.unity3d.player.z0.handleMessage(Unknown Source:140) android.os.Handler.dispatchMessage(Handler.java:102) android.os.Looper.loopOnce(Looper.java:222) android.os.Looper.loop(Looper.java:314) com.unity3d.player.B0.run(Unknown Source:24) UnityEngine._AndroidJNIHelper.GetMethodID (System.IntPtr jclass, System.String methodName, System.String signature, System.Boolean isStatic) (at <00000000000000000000000000000000>:0) UnityEngine.AndroidJavaObject._CallStatic (System.String methodName, System.Object[] args) (at <00000000000000000000000000000000>:0) Bugfender.Initialize () (at <00000000000000000000000000000000>:0) Zenject.Context.InstallInstallers (System.Collections.Generic.List1[T] normalInstallers, System.Collections.Generic.List1[T] normalInstallerTypes, System.Collections.Generic.List1[T] scriptableObjectInstallers, System.Collections.Generic.List1[T] installers, System.Collections.Generic.List1[T] installerPrefabs) (at <00000000000000000000000000000000>:0) Zenject.ProjectContext.Initialize () (at <00000000000000000000000000000000>:0) Zenject.ProjectContext.InstantiateAndInitialize () (at <00000000000000000000000000000000>:0) Zenject.ProjectContext.get_Instance () (at <00000000000000000000000000000000>:0) Zenject.SceneContext.RunInternal () (at <00000000000000000000000000000000>:0) Zenject.RunnableContext.Run () (at <00000000000000000000000000000000>:0)`

jgimenez commented 2 days ago

Hi there, by the looks of the message, it might be that the Bugfender library was not loaded. Which version of the unitypackage did you use? Did you try a different version?