-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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: method does not override or implement a method from a supertype @Override #19272
Comments
I got this same error, but with a different library BLE (https://github.com/innoveit/react-native-ble-manager) also with the 0.44 Version on Android. |
The solution in this issue solves the problem: #19259 |
@thebergamo You have to lock down RN version for every affected package, not just your app. I got 5 of them on current project. Ideally every package has to read RN version from gradle.properties. |
@fearmear You Right, The update React-Native 0.55.3 is broken, and by every library that you install with npm install "some-react-native-library" is broken if the "some-react-native-library" use the last version of react-native (you can check this if in the app/build.gradlew has compile 'com.facebook.react:react-native:+' ) you must change every library to you current version of react-native, and this can introduce new problems. |
Hey, I figured out how to lock down transitive dependencies for such projects.
|
@fearmear Save me after adding to build.gradle subprojects { |
These fixes don't seem to be working for me anymore:
or
I get the following error:
Can be put a priority 1 on this issue. |
[EDIT] @kelset commented exactly the same as I am explaining below in bug #19259 [EDIT] First of all I'm sorry but English is not my native language. The problem is occurring because react-native has been updated at http://jcenter.bintray.com/com/facebook/react/react-native/. This update was published on 2018-05-15 08:41:47 as can be seen in the image below. Due to this update the project no longer uses the version contained in the 'node_modules' folder and uses the last version existing in the site. The strange thing is that the '0.49.5' and '0.55.3' versions are listed at http://jcenter.bintray.com/com/facebook/react/react-native/ but are not listed in https://bintray.com/bintray/jcenter/com.facebook.react:react-native. Is this right? |
In our case react-native-audio plugin brought 0.55.3 dependency and caused this havoc. Here is how we locked down our RN version across all modules. Edit the android/build.gradle file and make the following changes:
|
Its #19272 (comment) working for me |
It looks like your issue may be missing some necessary information. Can you run |
Closing as duplicate of #19259 |
@Mahaswami Thank for your guide... My version is 0.44.0 and it work for me. |
#19272 (comment) worked for me as well! thanks! |
@jupassamani, saw your -1. Can you share what specifically did not work for you so I can update my comments for others benefit? Thanks. |
I am on RN 0.44.0, I added it configurations.all { i am getting error couldn’t find com.facebook.react:react-native:0.44.0 |
Hey @Mahaswami I tried
however it didn't work for me - same error. I also tried to edit android/app/build.gradle
no luck so far... |
yarn add react-native |
react-native: 0.44.3
Environment
After running
react-native info
i gotUnrecognized command 'info'
.Steps to Reproduce
run
react-native run-android
Expected Behavior
Should compile android
Actual Behavior
This morning I got this error after running
react-native run-android
I got this errorI'm getting this error with a lot of libraries, so the problem is not just this library, but something changes on React-native i think.
Also I notice this
Why is downloading react-native 0.55.3 pom files?
Thx
The text was updated successfully, but these errors were encountered: