Closed luizwhite closed 2 years ago
The issue is valid!
maybe this is not classified as a bug, so feel free to remove the tag
I got same problem. Error comes when I run ./gradlew build
Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): 'D:\GitHub\Food-Finder-React-Native-App\node_modules\react-native-reanimated\android\build\tmp\androidJavadoc\javadoc.options'
@jakub-gonet Apparently when using a newer gradle with react-native-reanimated v2 those warning don't show anymore
in my case, i cannot upgrade to reanimated v2 due to react-navigation-tabs using v1.9.0. i had to downgrade Android Studio to 4.1
I´m having the same issue using gradle 6, removing --deviceId as OP indicated indeed solved the problem. Anyone could give me a short insight on why this happens? Upgrading the lib or gradle, what would be the best workaround solution?
I was banging my head against this too. It looks like React has completely a different codepath if you specify --deviceId. It seems to build a lot more than needed, so the build takes ages. This just seems to be getting triggered as a side-effect of that. Fixing these warnings/errors would be fine, but the React issue might be making your builds take a lot longer like it was mine.
I haven't looked into it further, just an FYI for other people hitting this.
Did anyone find a solution to this error?
Sorry, unfortunately, we no longer support Reanimated v1, but if you can resolve the problem I welcome to prepare a pull request.
Issue is regarding --deviceId
argument for sure. But, did any one find solution?
My solution was to build with Android Studio using the debug variant. Then later change the bundle location in the device to my local network.
Execution failed for task ':react-native-reanimated:androidJavadoc'.
Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/Users/node_modules/react-native-reanimated/android/build/tmp/androidJavadoc/javadoc.options'
Any one help me to resolve the issue.
"react-native-reanimated": "1.13.2", "react": "16.13.1", "react-native": "^0.65.1",
Description
Clean build on my project gives me 100 warnings on Task :react-native-reanimated:androidJavadoc
When i say clean build, i mean this
Steps to reproduce
this then
yarn
;yarn android --deviceId emulator-5554
Actual behavior
https://gist.github.com/luizwhite/f431ec367d6187178b4d745e4bb01ac1
Expected behavior
no warnings about not existing packages
Snack or minimal code example
yarn android --deviceId emulator-5554
Package versions
Note
According to this post, and with this issue comment (last edit), removing --deviceId flag should fix the problem, but i need the deviceId flag, and this is not a solution
Behavior shortened