Closed m0skit0 closed 4 years ago
Reported here: https://github.com/EvilMindDevs/hms-unity-plugin/issues/31
MissingMethodException: Constructor on type 'HuaweiMobileServices.Id.HuaweiIdAuthService' not found. System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) (at <00000000000000000000000000000000>:0) System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) (at <00000000000000000000000000000000>:0) System.Activator.CreateInstance (System.Type type, System.Object[] args) (at <00000000000000000000000000000000>:0) HuaweiMobileServices.Utils.AndroidJavaObjectExtensions.AsWrapper[T] (UnityEngine.AndroidJavaObject javaObject) (at <00000000000000000000000000000000>:0) HmsPlugin.AccountManager.Start () (at <00000000000000000000000000000000>:0)
HuaweiIdAuthService has the correct constructor as expected by AsWrapper()
public HuaweiIdAuthService(AndroidJavaObject javaObject) : base(javaObject) { }
Reported here: https://github.com/EvilMindDevs/hms-unity-plugin/issues/31