title: What is the API level of Android R/11 to set in build.gradle in Android Studio?
body: <p>I can use API R via Android Studio Emulator. I know I can run directly from Android Studio but still I want to set in Gradle level.</p>
  
  <pre><code>android {
      compileSdkVersion 30
      defaultConfig {
          applicationId "com.example.test"
          minSdkVersion 21
          targetSdkVersion 30
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
      }
  </code></pre>