Android > App > gradle
Set your minimum SDK to 21 and Compile SDK to the latest; currently, I am using 34, so I'm setting it to 34. However, also add this line right after the Compile SDK: "buildToolsVersion"34.0.0'".