Skip to content

Bundling index.android.js [development, non-minified] 0.0% (0/1), failed. #33

Open
@wuyunqiang

Description

@wuyunqiang
Owner

项目升级错误:
我从0.46.4->0.51 报错如下:
0.46updateto0.51.png
解决:
1:android /app/build.gradle
添加如下:

project.ext.react = [
        entryFile: "index.js"
]

2:在MainApplication里面

 @Override
    protected String getJSMainModuleName() {
      return "index";
    }

3:修改index.ios.js&&index.android.ios->index.js
将这两个文件合并一个命名index.js.

参考:facebook/react-native#16517

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wuyunqiang

        Issue actions

          Bundling `index.android.js` [development, non-minified] 0.0% (0/1), failed. · Issue #33 · wuyunqiang/ReactNativeUtil