What went wrong: Execution failed for task ':app:bundleReleaseJsAndAssets'. > A problem occurred ...

看的大神的文章,解决了问题
原文在这里

补充:如果是苹果电脑要在build.gradle文件加上这一个

// Android studio bug hack
if (System.properties['os.name'].contains("Mac")) {
    project.ext.react.nodeExecutableAndArgs = ["/usr/local/bin/node"]
}

你可能感兴趣的:(What went wrong: Execution failed for task ':app:bundleReleaseJsAndAssets'. > A problem occurred ...)