Issue when using compileSdkPreview "CinnamonBun" and targetSdkPreview "CinnamonBun" in Android

1 day ago 1
ARTICLE AD BOX

We are currently trying to upgrade the Android SDK version and review possible deprecations and impacts.

When we attempt to use the preview SDK with the following configuration:

compileSdkPreview "CinnamonBun" targetSdkPreview "CinnamonBun"

we encounter the following error:

Requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs. :app is currently compiled against android-CinnamonBun.

It seems there is a mismatch between the required Android API version and the preview SDK configuration.

Has anyone faced a similar issue when compiling against the Android preview SDK?
What would be the correct way to resolve this or configure the project properly?

Read Entire Article