You might be confusing the SDK version with the Android version. The Play Store requires apps to be compiled with the latest SDK version, which is currently SDK version 34. This means your compile Sdk and target Sdk should be set to 34. The minimum Sdk version must be at least 23, as that's a requirement for using SDK 34 (You can refer here)