# ARDK + AR Foundation = gradle error

**URL:** <https://community.nianticspatial.com/t/ardk-ar-foundation-gradle-error/2997>\
**Category:** I'm Stuck\
**Created:** [November 17, 2022, 5:01am UTC](https://community.nianticspatial.com/t/ardk-ar-foundation-gradle-error/2997 "2022-11-17T05:01:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HA\_DONGHO](https://avatars.discourse-cdn.com/v4/letter/h/f0a364/32.png) [@HA\_DONGHO](https://community.nianticspatial.com/u/HA_DONGHO)\
**Post date:** [November 17, 2022, 5:01am UTC](https://community.nianticspatial.com/t/ardk-ar-foundation-gradle-error/2997/1 "2022-11-17T05:01:53Z")

</div>

_Include the following details (edit as applicable):_

- **Issue category** : ARDK Documentation / Unity Example PackageDeveloper Tools / VPS
- **Device type & OS version** : Android12 / iOS /
- **Host machine & OS version** : Windows
- **Issue Environment** : Unity Remote / Unity Mock / On Device / Dev Portal
- **Xcode version** :
- **ARDK version** :
- **Unity version** : 2021.3.12f1

Description of the issue:

 ![flow_2022-101-17_13308943](https://us1.discourse-cdn.com/niantic/original/2X/5/5fa3b6dd4f0d771232a4ad5de535074034debf53.png)

Hello,

When I proceeded with ARDK’s tutorial, the build went well with Android.

In that state, we added AR Foundation and built it, and there was a gradle error.

Can’t I use ARDK and AR Foundation together?

Thanks.

---

<div class="post-metadata">

**Author:** ![Bill\_McLaughlin](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/bill_mclaughlin/32/35_2.png) [@Bill\_McLaughlin](https://community.nianticspatial.com/u/Bill_McLaughlin)\
**Post date:** [November 17, 2022, 7:43pm UTC](https://community.nianticspatial.com/t/ardk-ar-foundation-gradle-error/2997/2 "2022-11-17T19:43:00Z")

</div>

Hi Ha,  
There was an update included in ARDK 2.3 that touches on the Gradle changes in Unity. If you’re not already working in 2.3 I’d try that first. If you’re on 2.3 already you might have to uninstall and reinstall to get Gradle reconnected. Please let me know if this works for you or if anything else comes up

---

<div class="post-metadata">

**Author:** ![Dylan\_Smit](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/dylan_smit/32/562_2.png) [@Dylan\_Smit](https://community.nianticspatial.com/u/Dylan_Smit)\
**Post date:** [November 17, 2022, 10:55pm UTC](https://community.nianticspatial.com/t/ardk-ar-foundation-gradle-error/2997/3 "2022-11-17T22:55:42Z")

</div>

Are you sure it’s that and not just ar foundation conflicting? I’ve seen others as well with issues when ardk is installed with ar foundation or the arkit/arcore packages seperately

---

<div class="post-metadata">

**Author:** ![HA\_DONGHO](https://avatars.discourse-cdn.com/v4/letter/h/f0a364/32.png) [@HA\_DONGHO](https://community.nianticspatial.com/u/HA_DONGHO)\
**Post date:** [November 18, 2022, 5:25am UTC](https://community.nianticspatial.com/t/ardk-ar-foundation-gradle-error/2997/4 "2022-11-18T05:25:19Z")

</div>

When I only did ARDK, I succeeded in building without any problems.

Just my question is whether ARDK and AR Foundation can be used together or not.

I tried the Gradle 6.7.1 and 7.5.1 and many other versions, but they all failed.

---

<div class="post-metadata">

**Author:** ![Bill\_McLaughlin](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/bill_mclaughlin/32/35_2.png) [@Bill\_McLaughlin](https://community.nianticspatial.com/u/Bill_McLaughlin)\
**Post date:** [November 18, 2022, 6:58pm UTC](https://community.nianticspatial.com/t/ardk-ar-foundation-gradle-error/2997/5 "2022-11-18T18:58:30Z")

</div>

Hi Ha, ARDK and AR Foundation have had trouble working together in the past, to the point where we don’t consider them compatible at this time. I will let our development side know about your interest in getting these to work together. Keep an eye on this forum and the Lightship Roadmap for progress on this front.

Thank you!

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [March 5, 2026, 11:44pm UTC](https://community.nianticspatial.com/t/ardk-ar-foundation-gradle-error/2997/6 "2026-03-05T23:44:56Z")

</div>

Age
