'Analytics library is missing whit Kotlin project

I have a problem that has already been seen on the stack but all other solutions are adapted to flutter and do not work on a Kotlin project. I try to send a message with FirebaseCloudMessaging, and during the test in my buid I have this result.

Thanks for reading

W/e.myapplicatio: Accessing hidden method Landroid/os/WorkSource;->add(I)Z (unsupported,test-api, reflection, allowed)

W/e.myapplicatio: Accessing hidden method Landroid/os/WorkSource;->add(ILjava/lang/String;)Z (unsupported,test-api, reflection, allowed) W/e.myapplicatio: Accessing hidden method Landroid/os/WorkSource;->get(I)I (unsupported, reflection, allowed) W/e.myapplicatio: Accessing hidden method Landroid/os/WorkSource;->getName(I)Ljava/lang/String; (unsupported, reflection, allowed) W/FirebaseMessaging: Unable to log event: analytics library is missing



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source