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?
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?