When I make the command "react-native run-android" then it happened:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'AsomeProject'.
Could not resolve all files for configuration ':classpath'. Could not find com.android.tools.build:gradle:3.0.1. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle -3.0.1.pom https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle -3.0.1.jar
screenshot:

Jcenter does not have Gradle 3.0.1.
It is available in Google's maven repository. here
You should add google() to allprojects in your project level build.gradle
Do this:
In your react native project, Navigate to -> android -> build.gradle.
add google() to allproject repository like this:
This should fix your problem.
Edit 1: replace google() with this