Android Studio error “requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs.”

There are two ways to fix this error:

  1. Increase compileSdk, targetSdk values from 32 to 33 in build.gradle file (app level).
  2. (Not recommended) Decrease dependencies in build.gradle to old values:
implementation 'androidx.core:core-ktx:1.8.0' 
implementation 'androidx.appcompat:appcompat:1.5.0'

After these changes – resync the project with Gradle files.

But it is best to use the first way, as it is necessary to support Android 13.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)