Failed to execute aapt / Execution failed for task ':app:processReleaseResources' in Android Studio using React Native

While running this project in debug mode everything works find. I am getting several “errors” after running ./gradlew assembleRelease --info.

The errors read
#1 - " ‘project/android/libs’, not found"
#2- “project/android/src/release/java’, not found”

The project correspond to projects that have been linked to project using ‘react-native link’

When I look for those files I do not see them but it does not appear to cause a problem in debug mode so I am confused as to what could be causing the issue.

I may be asking this question all wrong but I would like some help . I honestly do not know where to start. Any help would be appreciated. I can provide the file if help is available.