Fixes this error after running react-native run-android:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':tasks'.
> Could not create task ':react-native-sms-x:compileDebugJavaWithJavac'.
> In order to compile Java 9+ source, please set compileSdkVersion to 30 or above
Fixes this error after running
react-native run-android
: