0

I am very new to unity and have never done C#, or any other style of coding before, I have finally finished my first app but i keep getting "This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled." when I select build, I do know that these two lines of code (android.useAndroidX=true) (android.enableJetifier=true) solves the problem but not in my case. I was unaware that I needed Java/gradel until I began figuring out how to install ads, I downloaded Android Studios after finding out that I needed to add those two lines of code in gradle.properties. my gradle.propeties script looks way too small and I dont know what to do from here. help would be great. the tiny gradle.properties script is below just in case I'm right and it is not what it needs to be. Thanks

org.gradle.jvmargs=-Xmx4096M
org.gradle.parallel=true
android.enableR8=false
unityStreamingAssets=.json
unityTemplateVersion=3
android.useAndroidX=true
android.enableJetifier=true

I dont think it should look like this or be this small but it might be fine.

Neil
  • 1

0 Answers0