Android Studio reports following problem when opening build.gradle of library module (Module: android-bluetooth-serial.androidBluetoothSerial):
targetSdkVersion 28
Google Play requires that apps target API level 29 or higher.
No candidates found for method call targetSdkVersion.
android-bluetooth-serial.androidBluetoothSerial
Recomended action: Update targetSdkVersion to 31