Fix Gradle build error Unity version 2022 gradle buildandroid.useAndroidX' property is not enabled

Описание к видео Fix Gradle build error Unity version 2022 gradle buildandroid.useAndroidX' property is not enabled

unity 2022.35f i come with new 2024's solution of Configuration `releaseRuntimeClasspath`
contains AndroidX dependencies, but the
`android.useAndroidX` property is not enabled
CommandInvokationFailure: Gradle build failed.
C:\Program Files\Unity\Hub\Editor\2022.3.34f1\Editor\
Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe
-classpath "C:\Program Files\Unity\Hub\Editor\20
22.3.34f1\Editor\Data\PlaybackEngines\AndroidPlayer\
Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain
"-Dorg.grad
le.jvmargs=-Xmx4096m" "assembleRelease"
#new solution
Unity build time error that have irritated me too much i giving its 100 percent 💯💪 solution its to easy just copy. these 👇👇👇 lines and paste it into your gradle.template file

android.useAndroidX=true
android.enableJetifier=true

if you have any questions post them in comment and I'll do my best answer to them 🤜🤜
if you get your solution then plz like my video and subscribe my channel
#unity #error #errorsolution
#unityengine #bug #fixes #solved

Комментарии

Информация по комментариям в разработке