What went wrong:
Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
在RN项目目录下 确保手机已经连接或者模拟器打开
然后react-native run-android。