Error building apk for android using react native

I get an error when trying to build an apk for react native and android asking for the DeepAR.aar file

Hello, have you tried the solutions from this GitHub issue thread?

Error while evaluating property ‘hasLocalAarDeps’ of task ‘:react-native-deepar:bundleReleaseLocalLintAar’.

Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :react-native-deepar project caused this error: /Users/bahtiyarshaymuratov/Documents/GitHub/GlassesAI/node_modules/react-native-deepar/android/libs/deepar-3.4.4.aar