Unable to build project using Compile Version SDK of 28 (attribute foregroundServiceType not found)

Our company is doing some investigation/planning/analysis of what it would take to include the Zoom SDK in our mobile application.

Which version?
Zoom SDK Version: 4.6.15086.0209

To Reproduce(If applicable)
I added the Zoom required libraries (i.e. mobilertc and commlib) to our Android mobile application and tried to build the application using a compile version of SDK 28. The error that I get when trying to build with the Zoom SDK included is:

error: attribute android:foregroundServiceType not found.
error: failed processing manifest.


Smartphone (please complete the following information):

Additional context
Right now, we have to use a compile version of SDK 28 because another library we use in our mobile application requires it. So updating to compile version of SDK 29 at this time is not an option (I had found this post which mentioned that, After upgrading to v4.4.55968.0904 error: failed processing manifest).

Are there some steps we can take to enable our app to build with the Zoom SDK while using a compile version of SDK 28?

Hi lien.matthew,

Thanks for using Zoom SDK. You may need to change the compileSdkVersion and buildToolsVersion in your build.gradle to be 29+, as mentioned in: https://github.com/zoom/zoom-sdk-android#latest-sdk-notifications