# Zoom Android sdk Circle Ci failure

**URL:** <https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577>\
**Category:** Android\
**Created:** [March 1, 2021, 10:18pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577 "2021-03-01T22:18:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ozan/32/23752_2.png) [@ozan](https://devforum.zoom.us/u/ozan)\
**Post date:** [March 1, 2021, 10:18pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577/1 "2021-03-01T22:18:11Z")

</div>

**Description**  
Building locally on our machines are working fine. The problem exists when CircleCI is trying to build and test. It fails in the Ensure Android Dependencies are Present step.

 ![2021-03-01 16.14.25 app.circleci.com 9dfe128b89f6](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/6/e608b2860b9b090210669c51e5995be2770bb49e.png)

**Which Client Android SDK version?**  
Version 5.4.3.613

---

<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:** [March 2, 2021, 12:36am UTC](https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577/2 "2021-03-02T00:36:40Z")

</div>

Hi @ozan, thanks for the post.

Since your project is building properly locally, this must be an issue with your CircleCI environment. Unfortunately we cannot help debug issues with CircleCI as it is not part of the SDK product.

Thanks!

---

<div class="post-metadata">

**Author:** ![ozan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ozan/32/23752_2.png) [@ozan](https://devforum.zoom.us/u/ozan)\
**Post date:** [March 3, 2021, 9:47pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577/3 "2021-03-03T21:47:25Z")

</div>

Turns out its a issue with builds on others laptops too

Error From android studio  
Failed to open zip file.  
Gradle’s dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

We are using git LFS for the .aar files and we can see the file in the project when we checkout the branch.

However we cant build it.

---

<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:** [March 3, 2021, 10:26pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577/4 "2021-03-03T22:26:19Z")

</div>

Hi @ozan,

Can you please let me know if this issue is reproducible with the sample app? Also, what is the OS version and make/model of the machines on which this is reproducible?

Thanks!

---

<div class="post-metadata">

**Author:** ![ozan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ozan/32/23752_2.png) [@ozan](https://devforum.zoom.us/u/ozan)\
**Post date:** [March 5, 2021, 5:25pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577/5 "2021-03-05T17:25:47Z")

</div>

I got our project working but not a fan of the Process. From what i understand… could be wrong though.

**Zoom Android SDK** file is way too large for Github limit. Specifically, the **mobilertc.aar** file is roughly **110MB**. So it cant be included in the Github repro since the limit is **15MB**. As well as, the app will not build without those files in the **Commonlib & Mobilertc moduels** too.

So using Git LFS is a requirement for this to work. Correct?

1. If so, you need to download and install Git LFS and track the **mobilertc.aar** file at least.  
Then all the devs who will work on this project will need to also download and install Git LFS onto their computers, and initialize Git LFS in the local repo to build the projects.
2. For CircleCI you also have to download, install, and initialize Git LFS for CiricleCI Yaml config file.  
Example portion of updated yaml config file
  - `commands:  
…  
download-git-lfs-file:  
steps:
    - run:  
name: Download git LFS for circleCI  
command: curl -s [https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh](https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh) | sudo bash  
install-git-lfs-to-ciricle-ci:  
steps:
    - run:  
name: Install git LFS for circleCI  
command: sudo apt-get install git-lfs
    - run:  
name: Initalize git LFS for circleCI  
command: git lfs install  
…  
`

- As well as call these steps early on  
`jobs:  
build-and-test:  
executor: android/android  
steps:  
- **download-git-lfs-file**  
- **install-git-lfs-to-ciricle-ci**  
- checkout  
- ensure-gemfile-dependencies  
- ensure-android-dependencies  
- run-linter  
- gradle-stop  
- build:  
build-environment: staging  
build-type: debug  
- run-tests  
…

`

Then everything will works.

1. Question is: Is this truly the correct way to use the Android SDK? Please let me know.

2. The documents are out of date, and mostly send you in circles looking for answers else where.

---

<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:** [March 5, 2021, 6:32pm UTC](https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577/6 "2021-03-05T18:32:36Z")

</div>

Hi @ozan,

That’s great to hear that you got things working correctly! Yes, unfortunately the SDK recently surpassed the 100MB git file size limit, so git LFS is required.

Apologies for the outdated documentation. We realize that our SDK docs are not in an ideal state and are actively working towards improving them.

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:** [April 5, 2021, 4:32am UTC](https://devforum.zoom.us/t/zoom-android-sdk-circle-ci-failure/44577/7 "2021-04-05T04:32:53Z")

</div>

Closed on April 5, 2021, 4:32am UTC

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