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

I'm using 0.59.0-rc.3 #5088

Closed
priyankurs opened this issue May 9, 2019 · 4 comments
Closed

I'm using 0.59.0-rc.3 #5088

priyankurs opened this issue May 9, 2019 · 4 comments

Comments

@priyankurs
Copy link

I'm using 0.59.0-rc.3

and solved by these steps:

  • In gradle-wrapper.properties
    change distributionUrl to distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
  • and in root build.gradle file change gradle classpath to this: classpath 'com.android.tools.build:gradle:3.3.0'
  • Copy file 'metro.config.js' in 0.59-stable/template to your project.
  • Remove node_modules, yarn install, and run-android again.
    (And make sure version of metro in package.json "metro-react-native-babel-preset": "0.51.0" is the same with current metro's version)

Originally posted by @kimbui87 in #4757 (comment)

@priyankurs
Copy link
Author

what does "remove node_modules, yarn install means?

@jinshin1013
Copy link
Contributor

This question is more suitable for stackoverflow, but it's literally deleting your node_modules folder in your project and do npm install or yarn install to reinstall your dependencies. Deleting node_modules folder 100% ensures that all the packages installed in your project are the ones you specified in your package.json.

@ProjectKarol
Copy link

I try every solution from including yours and still have this problem

  • What went wrong:
    Execution failed for task ':react-native-navigation:compileReactNative57_5DebugJavaWithJavac'

@support
Copy link

support bot commented May 10, 2019

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the react-native-navigation tag.

@support support bot closed this as completed May 10, 2019
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

4 participants