About the problem of Android Studio coding in XML without code prompts

There is a problem with Android SDK 33, put the

compileSdk 33

    defaultConfig {
        applicationId "com.sxs.notes"
        minSdk 21
        targetSdk 33
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

replace with

compileSdk 32

    defaultConfig {
        applicationId "com.sxs.notes"
        minSdk 21
        targetSdk 32
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

Guess you like

Origin blog.csdn.net/m0_60199181/article/details/128112331