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

Error with react native navigation on new react-native-0.57.0 #3996

Closed
lukapekic opened this issue Sep 19, 2018 · 8 comments
Closed

Error with react native navigation on new react-native-0.57.0 #3996

lukapekic opened this issue Sep 19, 2018 · 8 comments

Comments

@lukapekic
Copy link

Issue Description

I installed new react native 0.57 and when i run npm run android a got too much errors.

Steps to Reproduce / Code Snippets / Screenshots

This are the errors:

> Task :react-native-navigation:compileDebugJavaWithJavac FAILED
/home/luka/Projects/nasa-peceranja-native/node_modules/react-native-navigation/android/app/src/main/java/com/reactnativenavigation/react/NavigationReactGateway.java:13: error: cannot find symbol
import com.facebook.react.uimanager.UIImplementationProvider;
                                   ^
  symbol:   class UIImplementationProvider
  location: package com.facebook.react.uimanager
/home/luka/Projects/nasa-peceranja-native/node_modules/react-native-navigation/android/app/src/main/java/com/reactnativenavigation/react/NavigationReactGateway.java:35: error: cannot find symbol
        public NavigationReactGateway(final UIImplementationProvider customImplProvider) {
                                            ^
  symbol:   class UIImplementationProvider
  location: class NavigationReactGateway
/home/luka/Projects/nasa-peceranja-native/node_modules/react-native-navigation/android/app/src/main/java/com/reactnativenavigation/NavigationApplication.java:15: error: cannot find symbol
import com.facebook.react.uimanager.UIImplementationProvider;
                                   ^
  symbol:   class UIImplementationProvider
  location: package com.facebook.react.uimanager
/home/luka/Projects/nasa-peceranja-native/node_modules/react-native-navigation/android/app/src/main/java/com/reactnativenavigation/NavigationApplication.java:58: error: cannot find symbol
    protected UIImplementationProvider getUIImplementationProvider() {
              ^
  symbol:   class UIImplementationProvider
  location: class NavigationApplication
/home/luka/Projects/nasa-peceranja-native/node_modules/react-native-navigation/android/app/src/main/java/com/reactnativenavigation/react/NavigationReactGateway.java:45: error: cannot find symbol
                                protected UIImplementationProvider getUIImplementationProvider() {
                                          ^
  symbol: class UIImplementationProvider
/home/luka/Projects/nasa-peceranja-native/node_modules/react-native-navigation/android/app/src/main/java/com/reactnativenavigation/react/NavigationReactGateway.java:44: error: method does not override or implement a method from a supertype
                                @Override
                                ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-navigation:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details

Environment

  • React Native Navigation version: 1.1.476
  • React Native version: 0.57.0
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Nexus 5X
@epileftro85
Copy link

have you figure this out? i have the same problem

@lukapekic
Copy link
Author

Yes i did. U need to install latest version of react native navigation so its compatibile with react native 0.57. But after that there is new error about sdk. Its only for me like that, so i downgraded react native. U can try and tell us what happened.

@makirby
Copy link

makirby commented Sep 20, 2018

There is a PR for 0.57.0 support here #3851

@Krishna-Vamsi-Chintalapati

At present react-native-navigation only works with react-native versions 0.51, 0.55 and 0.56. So downgrade your react-native to lower versions and the project will work fine.

@LRNZ09
Copy link

LRNZ09 commented Oct 3, 2018

Related issue here, there's also a pending pull request.

@Dgs-asohail4
Copy link

Any update on this?

@anhtuank7c
Copy link
Contributor

anhtuank7c commented Oct 5, 2018

Any update?

@guyca
Copy link
Collaborator

guyca commented Oct 10, 2018

Duplicate #3831

@guyca guyca closed this as completed Oct 10, 2018
@wix wix locked and limited conversation to collaborators Oct 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants