IllegalStateException - Too many bind requests(999+) for service Inte

Hello,

I am reaching out to bring attention to a critical issue that our team has identified on Samsung devices running Android 13. We are developing an application using Xamarin Forms, and we have encountered a significant problem related to Bluetooth services.

The application uses Bluetooth functionalities, and on Samsung devices with Android 13, we are experiencing the following error:

Fatal Exception: java.lang.IllegalStateException: Too many bind requests(999+) for service Intent { act=android.bluetooth.IBluetoothHearingAid cmp=com.android.bluetooth/.hearingaid.HearingAidService }
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:2115)
at android.app.ContextImpl.bindServiceAsUser(ContextImpl.java:2047)
at android.content.ContextWrapper.bindServiceAsUser(ContextWrapper.java:889)
at android.content.ContextWrapper.bindServiceAsUser(ContextWrapper.java:889)
at android.bluetooth.BluetoothProfileConnector.doBind(BluetoothProfileConnector.java:184)
at android.bluetooth.BluetoothProfileConnector.connect(BluetoothProfileConnector.java:245)
at android.bluetooth.BluetoothHearingAid.(BluetoothHearingAid.java:158)
at android.bluetooth.BluetoothAdapter.getProfileProxy(BluetoothAdapter.java:5753)

This issue appears to be similar to a previously reported problem on Android 13 devices, as evidenced by this GitHub issue: [Too many bind requests(999+) for service Intent · Issue #641 · android/play-billing-samples · GitHub].

We believe this problem is affecting the functionality of our application on Samsung devices, and we kindly request your assistance in addressing and resolving this issue. It seems to be specific to Samsung devices running Android 13, and we are eager to find a solution.

Any insights, guidance, or updates on this matter would be greatly appreciated. Thank you for your attention to this critical issue, and we look forward to your prompt response.

Please open a Developer Support request about your issue.

If this is a OneUI issue they can forward it to the proper channels.

Ron
Samsung Developer Relations