Not able to create release build for Android App

My project is developed in React Native and We are facing issue with the creating a build with Android App, We are facing following issue while creating a release build.

Execution failed for task ‘:react-native-deepar:bundleReleaseLocalLintAar’.

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/hemendu.kathiriya/Documents/NetWeb_Projects/GromSocial_React/GromSocialMobileApp/SocialNetwork/node_modules/react-native-deepar/android/libs/deepar-3.4.4.aar

Looking forward for your answer on above query.

Hi @Hemendu_Kathiriya!

You can check out some of the solutions for similar problems here and here regarding the usage of local AARs.

Let me know if that helps solve the issue.

@igor Thanks for your response. I got a solution by adding following lines in App Build.Gradle file.

android {
lintOptions {
checkReleaseBuilds false


Thanks a lot, that worked for me