Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wuyunqiang opened this issue Jan 4, 2018 · 0 comments

Comments

@wuyunqiang
Copy link
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

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

No branches or pull requests

1 participant