I'm implementing push notification in Huawei devices and I've got this exception while trying to get token. And this this because of this line:
Client = HmsInstanceId.GetInstance(Application.Context);
Exception:
{Java.Lang.NoClassDefFoundError: Failed resolution of: Lcom/huawei/hms/framework/common/EmuiUtil; ---> Java.Lang.ClassNotFoundException: Didn't find class "com.huawei.hms.framework.common.EmuiUtil" on path: DexPathList[[zip file....
The exception message :
failed resolution of: Lcom/huawei/hms/framework/common/EmuiUtil
How can I solve it?