-
Notifications
You must be signed in to change notification settings - Fork 739
Open
Labels
buga bug in one of the componentsa bug in one of the components
Description
Description
When I try to upgrade from Expo SDK 53 to SDK 54 I am getting the following output:
[RUN_GRADLEW] FAILURE: Build failed with an exception.
[RUN_GRADLEW] * What went wrong:
[RUN_GRADLEW] A problem was found with the configuration of task ':uilib-native:packageDebugResources' (type 'MergeResources').
[RUN_GRADLEW] - Gradle detected a problem with the following location: '/var/tmp/expo-builds/9495f0be-3c28-4d35-8634-8561c19973c1/build/node_modules/uilib-native/android/build/generated/res/resValues/debug'.
[RUN_GRADLEW]
[RUN_GRADLEW] Reason: Task ':uilib-native:packageDebugResources' uses this output of task ':react-native-ui-lib:generateDebugResValues' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
[RUN_GRADLEW]
[RUN_GRADLEW] Possible solutions:
[RUN_GRADLEW] 1. Declare task ':react-native-ui-lib:generateDebugResValues' as an input of ':uilib-native:packageDebugResources'.
[RUN_GRADLEW] 2. Declare an explicit dependency on ':react-native-ui-lib:generateDebugResValues' from ':uilib-native:packageDebugResources' using Task#dependsOn.
[RUN_GRADLEW] 3. Declare an explicit dependency on ':react-native-ui-lib:generateDebugResValues' from ':uilib-native:packageDebugResources' using Task#mustRunAfter.
[RUN_GRADLEW]
[RUN_GRADLEW] For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
[RUN_GRADLEW] * Try:
[RUN_GRADLEW] > Declare task ':react-native-ui-lib:generateDebugResValues' as an input of ':uilib-native:packageDebugResources'
[RUN_GRADLEW] > Declare an explicit dependency on ':react-native-ui-lib:generateDebugResValues' from ':uilib-native:packageDebugResources' using Task#dependsOn
[RUN_GRADLEW] > Declare an explicit dependency on ':react-native-ui-lib:generateDebugResValues' from ':uilib-native:packageDebugResources' using Task#mustRunAfter
[RUN_GRADLEW] > Run with --scan to get full insights.
[RUN_GRADLEW] BUILD FAILED in 7m 32s
[RUN_GRADLEW] Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.
Related to
- Components
- Demo
- Docs
- Typings
Steps to reproduce
- Create expo SDK 54 app;
- Install
react-native-ui-lib
; - Create a development build.
Expected behavior
Library should build correctly.
Actual behavior
Errors during build process.
More Info
Code snippet
Screenshots/Video
Environment
- React Native version: 0.81.4
- React Native UI Lib version: 7.46.3
Affected platforms
- Android
- iOS
- Web
conner1reimers, jkreiser, Bengejd, titanve and saravanakumargn
Metadata
Metadata
Assignees
Labels
buga bug in one of the componentsa bug in one of the components