-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Missing reproThis issue need minimum repro scenarioThis issue need minimum repro scenarioPlatform: AndroidThis issue is specific to AndroidThis issue is specific to Android
Description
Description
Android build failing on 3.12.0:
> Task :react-native-reanimated:compileReleaseJavaWithJavac
/root/repo/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReactHost/72/com/swmansion/reanimated/DevMenuUtils.java:5: error: cannot find symbol
private void addDevMenuOption(ReactApplicationContext context, DevOptionHandler handler) {
^
symbol: class ReactApplicationContext
location: class DevMenuUtils
/root/repo/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReactHost/72/com/swmansion/reanimated/DevMenuUtils.java:5: error: cannot find symbol
private void addDevMenuOption(ReactApplicationContext context, DevOptionHandler handler) {
^
symbol: class DevOptionHandler
location: class DevMenuUtils
/root/repo/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nativeProxy/NativeProxyCommon.java:85: error: addDevMenuOption(ReactApplicationContext,DevOptionHandler) has private access in DevMenuUtils
DevMenuUtils.addDevMenuOption(mContext.get(), this::toggleSlowAnimations);
^
/root/repo/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReactHost/72/com/swmansion/reanimated/DevMenuUtils.java:7: error: cannot find symbol
if (context.getApplicationContext() instanceof ReactApplication) {
^
symbol: class ReactApplication
location: class DevMenuUtils
/root/repo/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReactHost/72/com/swmansion/reanimated/DevMenuUtils.java:8: error: cannot find symbol
final DevSupportManager devSupportManager =
^
symbol: class DevSupportManager
location: class DevMenuUtils
/root/repo/node_modules/react-native-reanimated/android/src/reactNativeVersionPatch/ReactHost/72/com/swmansion/reanimated/DevMenuUtils.java:9: error: cannot find symbol
((ReactApplication) context.getApplicationContext())
^
symbol: class ReactApplication
location: class DevMenuUtils
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors
> Task :react-native-reanimated:compileReleaseJavaWithJavac FAILED
Steps to reproduce
Build android
Snack or a link to a repository
n/a
Reanimated version
3.12.0
React Native version
0.72.14
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
ssukru, iyadhuk and pushpraj9889
Metadata
Metadata
Assignees
Labels
Missing reproThis issue need minimum repro scenarioThis issue need minimum repro scenarioPlatform: AndroidThis issue is specific to AndroidThis issue is specific to Android