I've faced a similar problem, and after spending so much time and lots of searching about this issue the only solution worked for me is:
- Please Install the Required SDKs as shown in this below image.
Configure Required SDKs
- If You have already installed it, so you must have to update the following SDKs:
-
Android SDK Tool
(update it to latest version) -
Android SDK Platform-tools
(update it to latest version) -
Android SDK Build-tools
(update it to latest version) -
Android Support Repository
underExtra
folder (update it to latest version)
-
- You Must have at least installed the same version
Android API
as the installedAndroid SDK Build-tools
&Android SDK Platform-tools
version as shown in theConfigure Required SDKs
image above.
Note: Local Maven repository for Support Libraries which is listed as the SDK requirement in the official docs of React-native is now named as Android Support Repository in the SDK Manager.
Top comments (0)