# This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled

**URL:** <https://devforum.zoom.us/t/this-project-uses-androidx-dependencies-but-the-android-useandroidx-property-is-not-enabled/15955>\
**Category:** Android\
**Created:** [May 4, 2020, 10:01am UTC](https://devforum.zoom.us/t/this-project-uses-androidx-dependencies-but-the-android-useandroidx-property-is-not-enabled/15955 "2020-05-04T10:01:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shane.pereira](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shane.pereira/32/7577_2.png) [@shane.pereira](https://devforum.zoom.us/u/shane.pereira)\
**Post date:** [May 4, 2020, 10:01am UTC](https://devforum.zoom.us/t/this-project-uses-androidx-dependencies-but-the-android-useandroidx-property-is-not-enabled/15955/1 "2020-05-04T10:01:28Z")

</div>

pardon me, im new to using sdks  
So i have downloaded the sdk provided in the documentation, when i run the app i get the issue:  
“This project uses AndroidX dependencies, but the ‘android.useAndroidX’ property is not enabled”

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9debffb13fb4261e0d5a4ca1aaf57eaf5af759b5.png)

and when i checked StackOverflow i get that i have to upgrade my android project to android x and i have to use the following code in the gradle.properties  
android.useAndroidX=true

```
android.enableJetifier=true

```

i can’t find the Gradle. properties file and i have no idea where to put the above code, i tried putting it in the following files [link](https://www.screencast.com/t/uKVcti7s)

but there is no effect and i still get the above error. can someone please help me figure this out? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 6, 2020, 7:47am UTC](https://devforum.zoom.us/t/this-project-uses-androidx-dependencies-but-the-android-useandroidx-property-is-not-enabled/15955/2 "2020-05-06T07:47:54Z")

</div>

Hi [shane.pereira](https://devforum.zoom.us/u/shane.pereira),

Thanks for using Zoom SDK. It seems like this question is not related to Zoom SDK. If you would like to have the `gradle.properties` file in your project, you may refer to the following:

- [https://developer.android.com/jetpack/androidx/migrate](https://developer.android.com/jetpack/androidx/migrate)
- [https://docs.gradle.org/current/userguide/build\_environment.html](https://docs.gradle.org/current/userguide/build_environment.html)
- [https://stackoverflow.com/questions/37380417/android-studio-where-is-gradle-properties-file](https://stackoverflow.com/questions/37380417/android-studio-where-is-gradle-properties-file)
- [https://stackoverflow.com/questions/30333837/where-to-put-the-gradle-properties-file](https://stackoverflow.com/questions/30333837/where-to-put-the-gradle-properties-file)
- [https://stackoverflow.com/questions/39444581/where-is-gradle-properties-file-located-in-gradle-project](https://stackoverflow.com/questions/39444581/where-is-gradle-properties-file-located-in-gradle-project)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![jnbell](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jnbell](https://devforum.zoom.us/u/jnbell)\
**Post date:** [May 7, 2020, 8:11pm UTC](https://devforum.zoom.us/t/this-project-uses-androidx-dependencies-but-the-android-useandroidx-property-is-not-enabled/15955/3 "2020-05-07T20:11:41Z")

</div>

I am also new to Android Studio, I could not find any way from the IDE to add the gradle.properties file, so I added it manually and it showed in the IDE the next time I loaded it. I added those two lines:

```
android.useAndroidX=true
android.enableJetifier=true

```

and it works now. gradle.properties needs to go in the solution top folder, i.e. for the samples it would be mobilertc-android-studio.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 9, 2020, 2:08am UTC](https://devforum.zoom.us/t/this-project-uses-androidx-dependencies-but-the-android-useandroidx-property-is-not-enabled/15955/4 "2020-05-09T02:08:28Z")

</div>

Thanks for sharing! Glad to hear that it is working now. Happy Zooming! 🙂

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:07pm UTC](https://devforum.zoom.us/t/this-project-uses-androidx-dependencies-but-the-android-useandroidx-property-is-not-enabled/15955/5 "2020-08-21T21:07:51Z")

</div>

Closed on August 21, 2020, 9:07pm UTC



---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [August 21, 2021, 9:04pm UTC](https://devforum.zoom.us/t/this-project-uses-androidx-dependencies-but-the-android-useandroidx-property-is-not-enabled/15955/6 "2021-08-21T21:04:45Z")

</div>

I have found a solutio, one has to install a plugin to enable androidx dependencies in your IONIC project…

# Add plugin to enable AndroidX in the project

→ cordova plugin add cordova-plugin-androidx

# Add plugin to patch existing plugin source that uses the Android Support Library to use AndroidX

→ cordova plugin add cordova-plugin-androidx-adapter
