Update version of zoom sdk android

I am new to android development. I am using an old version of zoom sdk to build on top of in my project. I have to update the version of the the zoom SDK to 4.6.21666.0429. Can someone help me guide the best way to update the version of the SDK without having me to loose my changes that I’ve already done on my project. One naive way I think of is downloading the updated SDK and copy over the files(not sure which files precisely) from that sdk into my project, is there any easier/better way? Fyi, I am using android studio.

Which version?
I ran dumpsys package us.zoom.zoompresence, it gave me the below output, let me know if there is any other way to check the version.
versionCode=1 minSdk=22 targetSdk=29

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

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Android

Additional context
Add any other context about the problem here.

Hi jasmineakkal0316,

Thanks for using Zoom SDK. What was the SDK version you are using? If your project meets the following requirements(https://github.com/zoom/zoom-sdk-android#prerequisites):

  • Support AndroidX
  • Be able to have the following gradle settings
compileSdkVersion: 29+
buildToolsVersion: 29+
minSdkVersion: 21
Required dependencies
implementation 'androidx.multidex:multidex:2.0.0'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0-rc01'

Then you could just simply replace the old SDK libraries with the new libraries, no other action is required.

Hope this helps. Thanks!