You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a Gradle error while using the react-native-community/datetimepicker package in my React Native project. The error message is as follows:
What went wrong:
A problem was found with the configuration of task ':react-native-community_datetimepicker:copyReleaseJniLibsProjectAndLocalJars' (type 'LibraryJniLibsTask').
Gradle detected a problem with the following location: '/Users/name/Desktop/pn/node_modules/@react-native-community/datetimepicker/android/build/intermediates/stripped_native_libs/release/out'.
Reason: Task ':react-native-community_datetimepicker:copyReleaseJniLibsProjectAndLocalJars' uses this output of task ':@react-native-community_datetimepicker:stripReleaseDebugSymbols' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Declare task ':@react-native-community_datetimepicker:stripReleaseDebugSymbols' as an input of ':react-native-community_datetimepicker:copyReleaseJniLibsProjectAndLocalJars'.
Declare an explicit dependency on ':@react-native-community_datetimepicker:stripReleaseDebugSymbols' from ':react-native-community_datetimepicker:copyReleaseJniLibsProjectAndLocalJars' using Task#dependsOn.
Declare an explicit dependency on ':@react-native-community_datetimepicker:stripReleaseDebugSymbols' from ':react-native-community_datetimepicker:copyReleaseJniLibsProjectAndLocalJars' using Task#mustRunAfter.
Steps to Reproduce:
-Run ./gradlew assembleRelease
Expected Behavior:
The project should build and run without errors.
Actual Behavior:
The Gradle error described above is encountered.
Environment:
React Native version: 0.72.5
Please let me know how to resolve this Gradle error or if there are any known workarounds. Thank you for your assistance.
The text was updated successfully, but these errors were encountered:
👋 @primaramadhaniputra, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with the issue.
The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug.
Please create a new issue with this and we'll be happy to review it!
Description:
I encountered a Gradle error while using the react-native-community/datetimepicker package in my React Native project. The error message is as follows:
Task :react-native-community_datetimepicker:copyReleaseJniLibsProjectAndLocalJars FAILED
FAILURE: Build failed with an exception.
A problem was found with the configuration of task ':react-native-community_datetimepicker:copyReleaseJniLibsProjectAndLocalJars' (type 'LibraryJniLibsTask').
Gradle detected a problem with the following location: '/Users/name/Desktop/pn/node_modules/@react-native-community/datetimepicker/android/build/intermediates/stripped_native_libs/release/out'.
Reason: Task ':react-native-community_datetimepicker:copyReleaseJniLibsProjectAndLocalJars' uses this output of task ':@react-native-community_datetimepicker:stripReleaseDebugSymbols' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Steps to Reproduce:
-Run ./gradlew assembleRelease
Expected Behavior:
The project should build and run without errors.
Actual Behavior:
The Gradle error described above is encountered.
Environment:
React Native version: 0.72.5
Please let me know how to resolve this Gradle error or if there are any known workarounds. Thank you for your assistance.
The text was updated successfully, but these errors were encountered: