When I make the command \"react-native run-android\" then it happened:
FAILURE: Build failed with an exception.
try changing the class path in your build.gradle file from
classpath 'com.android.tools.build:gradle:3.1.4'
to
classpath 'com.android.tools.build:gradle:3.0.1'