After Android Studio is upgraded to Android API version 33, there is no prompt for XML layout input

 

After upgrading a lower version of Android Studio to Android API version 33, there is no prompt for XML layout input. Check that the Android Studio I am currently using was released in 2021, and Android API 33 was released in 2022. This is an incompatibility problem caused by upgrading from a lower version to a higher version. There are two solutions:

the first method:

Lower the compileSdk version, but it has to be modified every time you create a new project, which is a bit troublesome.

 

The second method:

Upgrade the version of Android Studio, open Android Studio, find "Help" in the menu, and select the "Check for Updates" option. As shown below:

 Click "Download" to download and install. Or uninstall the current Android studio, download the latest version, and install it freshly.

Guess you like

Origin blog.csdn.net/qq_39312146/article/details/132504401