# Cordova.plugin.zoom

**URL:** <https://devforum.zoom.us/t/cordova-plugin-zoom/17598>\
**Category:** Ionic\
**Tags:** htq, dc\
**Created:** [May 14, 2020, 7:34am UTC](https://devforum.zoom.us/t/cordova-plugin-zoom/17598 "2020-05-14T07:34:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smatcha](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@smatcha](https://devforum.zoom.us/u/smatcha)\
**Post date:** [May 14, 2020, 7:34am UTC](https://devforum.zoom.us/t/cordova-plugin-zoom/17598/1 "2020-05-14T07:34:58Z")

</div>

After Installing the Cordova plugin not able to build the apk .getting the below error

```
   uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library [:commonlib:] C:\Users\asury\.gradle\caches\transforms-1\files-1.1\commonlib.aar\41c9a1c218670ce16a05d8d0533c30cc\AndroidManifest.xml as the library might be using APIs not available in 19
    Suggestion: use a compatible library with a minSdk of at most 19,
            or increase this project's minSdk version to at least 21,
            or use tools:overrideLibrary="us.zoom.androidlib" to force usage (may lead to runtime failures
```

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 15, 2020, 1:59am UTC](https://devforum.zoom.us/t/cordova-plugin-zoom/17598/2 "2020-05-15T01:59:51Z")

</div>

Hi [smatcha](https://devforum.zoom.us/u/smatcha),

Thanks for the post. Our Android SDK requires minSdkVersion to be 21([https://github.com/zoom/zoom-sdk-android#prerequisites](https://github.com/zoom/zoom-sdk-android#prerequisites)) so setting it to be lower than 21 will not work. Based on the path shown in the error, it seems like gradle is trying to use the commonlib.aar in the cache, which might not be compatible with the latest Android SDK. Please try to clean the cache and set the minSdkVersion to 21+.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:19pm UTC](https://devforum.zoom.us/t/cordova-plugin-zoom/17598/3 "2020-08-21T21:19:12Z")

</div>


