when you have installed react native version 0.58 in your windows device and trying to run the react native application, then you will see "A problem occurred configuring project ':app'" error message in your command prompt or terminal. Lets see complete error message statement.
You are seeing this error message because you don't have updated Android SDK version that is 28.0.2 to run react native project.
Follow the below steps that helps to resolve the issues :
1. Open your android studio application and select the SDK manager option from the TOOL menu. (Tool > Android > SDK Manager)
2. Select the latest android SDK version that Android API 28 and then install the android API 28 from the google server by providing valid inputs. Once you are done with installation, then you need to click on OK button.
3. We have installed all the mandatory dependencies that is required to build android project in react native. Now you can run the react native project using below commands :
Thank you for reading this article, and if you have any problem, have a another better useful solution about this article, please write message in the comment section.