GetDeviceToken error in Android

GetDeviceToken on Android is giving me an error.
It works on the appgyver app, but when I build it and download it for internal testing, I get the error.
Is there a solution?
I tried to use get firebase device token, but the error still occurred.