• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android studio flamingo asking for compileSdkVersion to be set to 34

techie06

Lurker
Jun 9, 2023
1
0
I have an app that is built using capacitorjs. Now I have updated the capacitor js version to be 5 along with android studio updated with flamingo. Since the update, I get below error:

Dependency 'androidx.core:core:1.12.0-alpha05' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.

:app is currently compiled against android-33.

Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.

Note that updating a library or application's compileSdk (which
allows newer APIs to be used) can be done separately from updating
targetSdk (which opts the app in to new runtime behavior) and
minSdk (which determines which devices the app can be installed
on).

I now updated compileSdkVersion to 34 in :app build.gradle file. and it works fine.

Since 34 is still in dev, will it cause problems for my app? Should I be doing this? Any suggestions?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones