React Native Error Task ‘:app:compressReleaseAssets’ uses this output of task ‘:app:copyReleaseBundledJs’

React Native Error :app:compressReleaseAssets

The error message “Task ‘:app:compressReleaseAssets’ uses this output of task ‘:app:copyReleaseBundledJs'” is indicating that the task “compressReleaseAssets” is using the output of the task “copyReleaseBundledJs” as input. It is likely that the task “copyReleaseBundledJs” has not been completed or has failed, causing the task “compressReleaseAssets” to fail as well.

You should check the output of the task “copyReleaseBundledJs” to see if it was completed successfully and if not, try to resolve any issues that may have caused it to fail. Also, you can check if there is any plugin or library is missing or not and check the versions of the libraries and plugins you are using if they are compatible with your current setup or not.