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

**URL:** <https://devforum.zoom.us/t/unable-to-build-project-using-compile-version-sdk-of-28-attribute-foregroundservicetype-not-found/8346>\
**Category:** Android\
**Created:** [March 2, 2020, 2:42pm UTC](https://devforum.zoom.us/t/unable-to-build-project-using-compile-version-sdk-of-28-attribute-foregroundservicetype-not-found/8346 "2020-03-02T14:42:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lien.matthew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lien.matthew/32/3372_2.png) [@lien.matthew](https://devforum.zoom.us/u/lien.matthew)\
**Post date:** [March 2, 2020, 2:42pm UTC](https://devforum.zoom.us/t/unable-to-build-project-using-compile-version-sdk-of-28-attribute-foregroundservicetype-not-found/8346/1 "2020-03-02T14:42:41Z")

</div>

**Description**  
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.

**Screenshots**

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

**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](https://devforum.zoom.us/t/after-upgrading-to-v4-4-55968-0904-error-failed-processing-manifest/5793)).

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?

---

<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:** [March 3, 2020, 3:56am UTC](https://devforum.zoom.us/t/unable-to-build-project-using-compile-version-sdk-of-28-attribute-foregroundservicetype-not-found/8346/2 "2020-03-03T03:56:41Z")

</div>

Hi [lien.matthew](https://devforum.zoom.us/u/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](https://github.com/zoom/zoom-sdk-android#latest-sdk-notifications)

Thanks!

---

<div class="post-metadata">

**Author:** ![baijnathpandey15](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/baijnathpandey15/32/5672_2.png) [@baijnathpandey15](https://devforum.zoom.us/u/baijnathpandey15)\
**Post date:** [June 9, 2020, 11:15am UTC](https://devforum.zoom.us/t/unable-to-build-project-using-compile-version-sdk-of-28-attribute-foregroundservicetype-not-found/8346/3 "2020-06-09T11:15:20Z")

</div>

I am getting the same error while building an apk file.

Execution failed for task ‘:app:processDebugResources’.

> Android resource linking failed  
> D:\ionic\appPluginPrototype\sample-app-ionic-master\platforms\android\app\build\intermediates\merged\_manifests\debug\AndroidManifest.xml:159: AAPT: error: attribute android:foregroundServiceType not found.

And the project have  
“android-minSdkVersion” value=“22”, “android-compileSdkVersion” value=“29”, “android-build-tool” value=“29.0.2”, “android-targetSdkVersion” value=“29”  
these configurations.

Actually, this is the sample project I found for zoom integration with ionic through the zoom website.

---

<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:** [June 10, 2020, 8:40am UTC](https://devforum.zoom.us/t/unable-to-build-project-using-compile-version-sdk-of-28-attribute-foregroundservicetype-not-found/8346/4 "2020-06-10T08:40:28Z")

</div>

Hi @baijnathpandey15,

Thanks for the reply. You may find the answer to your question here:[https://github.com/zoom/zoom-sdk-ionic#frequently-asked-questions-faq;](https://github.com/zoom/zoom-sdk-ionic#frequently-asked-questions-faq;) Please follow the instruction in [https://github.com/zoom/sample-app-ionic#prerequisites](https://github.com/zoom/sample-app-ionic#prerequisites) to install the required components.

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:58pm UTC](https://devforum.zoom.us/t/unable-to-build-project-using-compile-version-sdk-of-28-attribute-foregroundservicetype-not-found/8346/5 "2020-08-21T21:58:50Z")

</div>

Closed on August 21, 2020, 9:58pm UTC


