相关疑难解决方法(0)

react-native\react.gradle'不存在

我使用react native创建了一个应用程序,我正在尝试生成apk.在http://facebook.github.io/react-native/docs/signed-apk-android.html#content的文档中完成后.发生错误,它表示无法读取脚本react-native\react.gradle',因为它不存在.

这是错误

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\User\Desktop\Aaa\android\app\build.gradle' line: 68

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not read script 'C



*   // override which node gets called and with what additional arguments
*   nodeExecutableAndArgs: ["node"],
*
*   // supply additional arguments to the packager
*   extraPackagerArgs: []
* ]
*/

apply from: "../../node_modules/react-native/react.gradle"

/**
 * Set this to true to create two separate APKs instead of …
Run Code Online (Sandbox Code Playgroud)

react-native

18
推荐指数
4
解决办法
2万
查看次数

标签 统计

react-native ×1