Search code examples
javaandroidandroidxzoom-sdk

'android.useAndroidX' property is not enabled


okay, so this is the first time I'm working with SDKs,

I'm using the zoom SDK from here https://marketplace.zoom.us/docs/sdk/native-sdks/android/getting-started

and I'm trying to run the sample APK as mentioned in the documentation and it returns the error "This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled" https://i.sstatic.net/taM6c.png

and I have searched and found a solution to this where I turn the android project into an androidX project by using the following in the Gradle.properties file:

android.useAndroidX=true
android.enableJetifier=true

HERE IS WHERE THE ISSUE LIES

the SDK doesn't have any Gradle.properties file, and hence i don't know where to insert the above code for now, I have inserted the above code in the following files: https://i.sstatic.net/Ktj4j.png

and yet the issue still exists, can I please get some help on this? thanks in advance!


Solution

  • Added this into gradle.properties files solve my problem.

    android.useAndroidX=true
    android.enableJetifier=true