3

After run npm run android --stacktrace, I have an error:

Task :react-native-navigation:compileReactNative57_5DebugJavaWithJavac FAILED

error: NoOpPromise is not abstract and does not override abstract method reject(String,String,Throwable,WritableMap) in Promise public class NoOpPromise implements Promise {

react-native": "^0.58.1",

"react-native-navigation": "^2.8.0",

Aleksey
  • 61
  • 9

1 Answers1

1

You basically have to override the methods that the NoOpPromise.java class is not overriding. This issue is with react-native 0.58.1. Either you can degrade the version or you can make the changes in the NoOpPromise file.Please checkout my answer on github.

Enjoy Coding!!!!!!

Arpan Sharma
  • 2,142
  • 11
  • 22