# Not able to create release build for Android App

**URL:** <https://forum.deepar.ai/t/not-able-to-create-release-build-for-android-app/390>\
**Category:** SDK\
**Created:** [August 10, 2023, 10:56am UTC](https://forum.deepar.ai/t/not-able-to-create-release-build-for-android-app/390 "2023-08-10T10:56:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hemendu\_Kathiriya](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/hemendu_kathiriya/32/570_2.png) [@Hemendu\_Kathiriya](https://forum.deepar.ai/u/Hemendu_Kathiriya)\
**Post date:** [August 10, 2023, 10:56am UTC](https://forum.deepar.ai/t/not-able-to-create-release-build-for-android-app/390/1 "2023-08-10T10:56:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![igor](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/igor/32/547_2.png) [@igor](https://forum.deepar.ai/u/igor)\
**Post date:** [August 10, 2023, 12:06pm UTC](https://forum.deepar.ai/t/not-able-to-create-release-build-for-android-app/390/2 "2023-08-10T12:06:05Z")

</div>

Hi @Hemendu_Kathiriya!

You can check out some of the solutions for similar problems [here](https://stackoverflow.com/questions/60878599/error-building-android-library-direct-local-aar-file-dependencies-are-not-supp) and [here](https://stackoverflow.com/questions/72012502/react-native-0-66-4android-direct-local-aar-file-dependencies-are-not-sup) regarding the usage of local AARs.

Let me know if that helps solve the issue.

---

<div class="post-metadata">

**Author:** ![Hemendu\_Kathiriya](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/hemendu_kathiriya/32/570_2.png) [@Hemendu\_Kathiriya](https://forum.deepar.ai/u/Hemendu_Kathiriya)\
**Post date:** [August 18, 2023, 5:17am UTC](https://forum.deepar.ai/t/not-able-to-create-release-build-for-android-app/390/3 "2023-08-18T05:17:37Z")

</div>

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

android {  
lintOptions {  
checkReleaseBuilds false  
}  
}

---

<div class="post-metadata">

**Author:** ![Chi\_Tho](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/chi_tho/32/714_2.png) [@Chi\_Tho](https://forum.deepar.ai/u/Chi_Tho)\
**Post date:** [December 4, 2023, 8:20am UTC](https://forum.deepar.ai/t/not-able-to-create-release-build-for-android-app/390/4 "2023-12-04T08:20:08Z")

</div>

Thanks a lot, that worked for me
