An Error Is Reported When Using Android Studio to Create a Program
checkDebugAarMetadata:
6 issues were found when checking AAR metadata: 1. Dependency 'androidx. appcompat:appcompat-resources:1.6.1' requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 2. Dependency 'androidx. appcompat:appcompat:1.6.1' requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 3. Dependency 'androidx. activity:activity:1.6.0' requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 4. Dependency 'androidx.core:core-ktx:1.9.0' requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 5. Dependency 'androidx.core:core:1.9.0' requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 6. Dependency 'androidx.annotation:annotation-experimental:1.3.0'requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or application's compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).
6 issues were found when inspecting AAR metadata: 1. Dependency "androidx.appcompat:appcompat-resources:1.6.1" requires library and application Version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended Action: Update this project to use a newer compileSdkVersion At least 33, such as 33. Note that updating the compileSdkVersion of a library or application (where Allowing the use of newer apis) can be done separately from updating targetSdkVersion (selects the app to enter the new runtime behavior) and minSdkVersion (determine which devices can install the application) superior). 2. Dependency "androidx.appcompat:appcompat:1.6.1" requires library and application Version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended Action: Update this project to use a newer compileSdkVersion At least 33, such as 33. Note that updating the compileSdkVersion of a library or application (where Allowing the use of newer apis) can be done separately from updating targetSdkVersion (selects the app to enter the new runtime behavior) and minSdkVersion (determine which devices can install the application) superior). 3. Dependency "androidx.activity:activity:1.6.0" requires library and application Version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended Action: Update this project to use a newer compileSdkVersion At least 33, such as 33. Note that updating the compileSdkVersion of a library or application (where Allowing the use of newer apis) can be done separately from updating targetSdkVersion (selects the app to enter the new runtime behavior) and minSdkVersion (determine which devices can install the application) superior). 4. Libraries and applications required by dependency "androidx.core:core-ktx:1.9.0" Version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended Action: Update this project to use a newer compileSdkVersion At least 33, such as 33. Note that updating the compileSdkVersion of a library or application (where Allowing the use of newer apis) can be done separately from updating targetSdkVersion (selects the app to enter the new runtime behavior) and minSdkVersion (determine which devices can install the application) superior). 5. Dependency "androidx.core:core:1.9.0" requires library and application Version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended Action: Update this project to use a newer compileSdkVersion At least 33, such as 33. Note that updating the compileSdkVersion of a library or application (where Allowing the use of newer apis) can be done separately from updating targetSdkVersion (selects the app to enter the new runtime behavior) and minSdkVersion (determine which devices can install the application) superior). 6. Dependency "androidx.annotation:annotation-experimental:1.3.0" requires library and application Version 33 or later of the Android APIs. :app is currently compiled against android-32. Recommended Action: Update this project to use a newer compileSdkVersion At least 33, such as 33. Note that updating the compileSdkVersion of a library or application (where Allowing the use of newer apis) can be done separately from updating targetSdkVersion (selects the app to enter the new runtime behavior) and minSdkVersion (determine which devices can install the application) superior).
Click File>Project Structure>modules to modify the CompileSdk version to 33 to run normally
Looking at the error message, it seems that there is a problem with my sdk compilation version, but it was fine when I used 32 a few days ago. I don’t understand why I need to use 33 to create an empty project program today. Fortunately, it took half an hour. Android studio The bug is too metaphysical