How to Remove android.enableR8' Error / Deprecated Unity Build Failed **Fix Solution**

preview_player
Показать описание
Hope this fix your problem.
Go to project settings- player -tick Custom Base Gradle Template
Change this line:
to this:
also if not working you can try this:
Check the Checkbox Ignore Gradle Version under Edit - Project Settings - XR-Plugin Management - AR Core (just install if you dont have it)
Subscribe to my channel!!
Contact us on our page:
play our games:
Buy Unity game source codes:
Рекомендации по теме
Комментарии
Автор

my gradle version is gradle:4.0.1 what did I suppose to do! change it to 3.4.0 too!

mohamedradwan
Автор

I'm using Unity 2020.3.32 and get this error and various others as I make changes.
I have changed to 3.6.0, 4.0.0 (as recommended by Android); 4.0.1 (recommended by Unity) ... without success.
I need to meet the latest Android level 34 requirement. I've used Android Studio to install up to SDK 35; SDK Tools 30.0.2; NDK r19; SDK Command Line Tools Ver 2.1; SDK Platform Tools 35.0.1;
I'm using JDK 8 as installed by Unity and Gradle 6.1.1 as installed by Unity.
Any suggestions please?

drtonyburns
Автор

my version is 2021.3.35f1, unfortunately it didn't work, I've been having this problem for 2 weeks, the unity team unfortunately doesn't help,

hengor
Автор

i really glad that i find your video . i face this problem from few days and your video helped me thankyou so much for this .

mr.rahulrana
Автор

I have Unity 2021.3.14f, classpath in unity. How do I work with that?

JM-rilp
Автор

Bro OMG
THANKS YOU SO MUCH
THIS REALLY MEANS ALOT
CRAP AM SO HAPPY

Radspidey
Автор

I have the same probleme with 4.0.1 what should i do Now ??

yahyabadaoui
Автор

I have this problem too, I will test this solution and will tell if it works

CrazyGaming-zhqk