# Security Exception is raised with Android12

**URL:** <https://devforum.zoom.us/t/security-exception-is-raised-with-android12/59305>\
**Category:** Android\
**Created:** [October 25, 2021, 6:22am UTC](https://devforum.zoom.us/t/security-exception-is-raised-with-android12/59305 "2021-10-25T06:22:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![POLYGLOTS\_Lesson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/polyglots_lesson/32/20219_2.png) [@POLYGLOTS\_Lesson](https://devforum.zoom.us/u/POLYGLOTS_Lesson)\
**Post date:** [October 25, 2021, 6:22am UTC](https://devforum.zoom.us/t/security-exception-is-raised-with-android12/59305/1 "2021-10-25T06:22:52Z")

</div>

**Description**  
When an app with mobile meeting sdk is launched, the following error is raised with Anroid12.

java.lang.SecurityException: Need android.permission.BLUETOOTH\_CONNECT permission for AttributionSource { uid = 10147, packageName = xxxxx, attributionTag = null, token = android.os.BinderProxy@a3c71e5, next = null }: HeadsetService  
at android.os.Parcel.createExceptionOrNull(Parcel.java:2425)  
at android.os.Parcel.createException(Parcel.java:2409)  
at android.os.Parcel.readException(Parcel.java:2392)  
at android.os.Parcel.readException(Parcel.java:2334)  
at android.bluetooth.IBluetoothHeadset$Stub$Proxy.getConnectedDevicesWithAttribution(IBluetoothHeadset.java:1040)  
at android.bluetooth.BluetoothHeadset.getConnectedDevices(BluetoothHeadset.java:549)  
at us.zoom.androidlib.util.HeadsetUtil$1.onServiceConnected(HeadsetUtil.java:108)  
at android.bluetooth.BluetoothHeadset$3.handleMessage(BluetoothHeadset.java:1422)  
at android.os.Handler.dispatchMessage(Handler.java:106)  
at android.os.Looper.loopOnce(Looper.java:201)  
at android.os.Looper.loop(Looper.java:288)  
at android.app.ActivityThread.main(ActivityThread.java:7839)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

**Which Android Meeting SDK version?**  
v5.7.6.1915

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Use Android12 OS.
2. Just launch the app with Zoom meeting sdk v5.7.6.1915.
3. See error

**Smartphone (please complete the following information):**

- Device: Any
- OS: Android12

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 25, 2021, 6:00pm UTC](https://devforum.zoom.us/t/security-exception-is-raised-with-android12/59305/2 "2021-10-25T18:00:15Z")

</div>

Hi @POLYGLOTS_Lesson, thanks for the post.

We are aware that there are some compatibility issues when running the SDK on API 31. Since we have not yet released official support for this version of Android, fixes for these issues will not be possible. Support for Android 12 will be released in the future, but we do not yet have an exact timeline for this.

In case you weren’t already aware, the best places to stay up-to-date on the latest releases are our [release notes page](https://marketplace.zoom.us/docs/changelog) and the #new-releases category. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 25, 2021, 4:01am UTC](https://devforum.zoom.us/t/security-exception-is-raised-with-android12/59305/3 "2021-11-25T04:01:16Z")

</div>

Closed on November 25, 2021, 4:01am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
