Build error on RN 0.47.0-rc.3 (Android)
See original GitHub issueDescription
I’ve upgraded my project to React 0.47.0-rc.3 and, with react-native-image-picker
as a dependency it broke Android builds. Build error log:
:react-native-image-picker:generateReleaseSources UP-TO-DATE
:react-native-image-picker:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:react-native-image-picker:compileReleaseJavaWithJavac
:react-native-image-picker:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/michael/code/exp/Example/node_modules/react-native-image-picker/android/src/main/java/com/imagepicker/ImagePickerPackage.java:34: error: method does not override or implement a method from a supertype
@Override
^
1 error
:react-native-image-picker:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-image-picker:compileReleaseJavaWithJavac'.
How to repeat issue and example
react-native init Example --version 0.47.0-rc.3 && cd Example
yarn add react-native-image-picker
react-native run-android
Solution
I guess, this issue (#307) could be somehow related to this, as the build error look the same.
Additional Information
- React Native version: 0.47.0-rc.3
- Platform: Android
- Development Operating System: MacOS Sierra 10.12.5
- Dev tools: Android SDK 23
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Build error on RN 0.47.0-rc.3 (Android) #641 - GitHub
Description I've upgraded my project to React 0.47.0-rc.3 and, with react-native-image-picker as a dependency it broke Android builds.
Read more >React Native Android build failure with different errors without ...
The build failures for Android was due to the publish of the React Native version 0.71.0-rc0 . Note: Error may be different but...
Read more >react-native-device-info | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >react-native-device-info/README.md - UNPKG
46, > ⚠️ If you are on React Native > 0.47, you must use version 0.11.0 of this ... similar to this in...
Read more >react-native-svg - NPM Package Overview - Socket.dev
yarn add react-native-svg In RN 0.60+, this is all you should ever ... If you have build errors, then it might be caused...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there any contributor available to take a look at the PRs?
I still face this problem with the released version 0.47.1.