Skip to main content
All CollectionsFAQs and Troubleshooting
I am getting an AAPT error while trying to build an app
I am getting an AAPT error while trying to build an app

Verify that compileSdkVersion is correctly set in the app build.gradle file.

Shake Typing avatar
Written by Shake Typing
Updated over a week ago

If you are getting the following error:
โ€‹

AAPT: error: attribute android:foregroundServiceType not found.

verify that compileSdkVersion is correctly set in the app build.gradle file. Shake requires compileSdkVersion 29 or greater.


For installation instructions click here.

If you have any other questions, don't hesitate to contact us through the Intercom bubble.


Or even better, join our Slack Community and get in touch with our developers within a few minutes.

Did this answer your question?