Task :react-native-reanimated:androidJavadoc - gives me 100 warnings

See original GitHub issue

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

  • React: 16.13.1
  • React Native: 0.63.4
  • React Native Reanimated: ^1.13.1

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

> Task :react-native-reanimated:androidJavadoc
.../node_modules/react-native-reanimated/android/src/main/java/com/facebook/react/uimanager/UIManagerReanimatedHelper.java:11: error: cannot find symbol
  public static boolean isOperationQueueEmpty(UIImplementation uiImplementation) {
                                              ^
  symbol:   class UIImplementation
  location: class UIManagerReanimatedHelper
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:5: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.Arguments;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:6: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.Callback;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:7: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.GuardedRunnable;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:8: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.JSApplicationIllegalArgumentException;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:9: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReactContext;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java:10: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReadableMap;

...

.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nodes/AlwaysNode.java:8: error: cannot find symbol
  public AlwaysNode(int nodeID, ReadableMap config, NodesManager nodesManager) {
                                ^
  symbol:   class ReadableMap
  location: class AlwaysNode
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nodes/TransformNode.java:3: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.JavaOnlyArray;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nodes/TransformNode.java:4: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.JavaOnlyMap;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nodes/TransformNode.java:5: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReadableArray;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nodes/TransformNode.java:6: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReadableMap;
                                ^
.../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nodes/TransformNode.java:7: error: package com.facebook.react.bridge does not exist
import com.facebook.react.bridge.ReadableType;
                                ^
100 warnings

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 4m 43s
461 actionable tasks: 461 executed
info Connecting to the development server...
info Installing the app on the device "emulator-5554"...
Performing Streamed Install
Success
info Starting the app on "emulator-5554"...
Starting: Intent { cmp=com.testapp/.MainActivity }
✨  Done in 303.39s.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
AkshayBhimanicommented, May 2, 2022

Issue is regarding --deviceId argument for sure. But, did any one find solution?

4reactions
smartHOTELeucommented, Mar 4, 2021

I got same problem. Error comes when I run ./gradlew build

  • What went wrong: Execution failed for task ‘:react-native-reanimated:androidJavadoc’.

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’

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-reanimated:compiledebugjavawithjavac - You.com
This issue occurs due to the upgrade of react native version. To solve this issue go to the android/build.gradle and past the code...
Read more >
react-native-reanimated:androidJavadoc errors running react ...
100 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-reanimated:androidJavadoc'. > ...
Read more >
react-native-reanimated - npm
React Native Reanimated provides a more comprehensive, low level abstraction for the Animated library API to be built on top of and hence ......
Read more >
App does not build, react-native-reanimated gradle error
Hi everyone When I try to compile my project eas shows this error WARNING:Software Components will not be created automatically for Maven ...
Read more >
Installation | React Native Reanimated - Software Mansion
Installing Reanimated requires a couple of additional steps compared to installing most of the popular React Native packages.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found