Previously, I was using Android Gradle version 7.5 and AGP version 7.4.2, where I consistently encountered the error:
Phone Number Hint failed 16: [28438] No phone number is found on this device.
This happened on all devices.
After updating to Gradle version 8.7 and AGP version 8.5.0, the issue was resolved for most devices, and the Phone Number Hint pop-up started working properly. However, the same error still occurs on a specific device, Samsung M31s, while it works as expected on other devices.