Thanks alot . i mean am so happy for 2 years now i have been installing and uninstalling the jdk, sdk, and gradle not knowing it was the version that wasn't compactible ... thanks a lot saved me...😍🤙
Hello, i play with Unity sometimes in spare time, making little builds for PC, but now i tried for the first time building my project for Android, and i get some error with Gradle not being able to download some file, i use unity offline only, i don't have means of going online now with my PC, so where should i download this file, and how can i make unity search for it locally instead of online? I use Unity 2019.3.1f1 (64-bit), the unity site doesn't show anything for my version.
Go to Edit -> Prefences -> External Tools scroll down you will see gradle installed with unity disable that then below it there will be a path delete it then paste yours :) Happy Coding!
@@cherin5959 in my case I was using lightship ar . And it contained its own ar core. Then I checked Google ar core also. So there’s duplicate AR. So, I unchecked Google ar, went to package manager and uninstalled Google ar and xr manager . And suddenly Gradle and all the other errors just didn’t matter and it built right there in minutes on unity. No need for android studio anymore. Unity already installed everything you need including the JDK,SDK, NDK and gradle all were okay …(I think this is incase of duplicate errors only)
Using Unity 2023.2 and following this video I got the 7.6 gradle and it works like a charm, thank you so much for saving me!
Hey man you are the G.O.A.T
Thanks alot . i mean am so happy for 2 years now i have been installing and uninstalling the jdk, sdk, and gradle not knowing it was the version that wasn't compactible ... thanks a lot saved me...😍🤙
This method with custom gradle 6 still generates failure when building app
thanks you very good
thank you so much. The only video worked
Love u TTTT Thank you! Thank you RUclips!
Thanks this did the trick
Hello, i play with Unity sometimes in spare time, making little builds for PC, but now i tried for the first time building my project for Android, and i get some error with Gradle not being able to download some file, i use unity offline only, i don't have means of going online now with my PC, so where should i download this file, and how can i make unity search for it locally instead of online? I use Unity 2019.3.1f1 (64-bit), the unity site doesn't show anything for my version.
Good
Hey in first two times it works and after then it says gradle not not valid
Nice
thanks alot
TY so much i subed
Add hastag #unity
2023?
Doesn't work for me please help me I am using unity 2021.20lts
Anything you found
From this video no but now I am able to build and publish
@@3DArtisianhi how did you fix it
@@Ialsodowatchyoutube which Unity version you are using and tell me about what is in your project like Admob SDK and IAP or more
Doesn't work for me bro...
Sama aja su
only vid that worked wwwwwwwww
i didnt found where to change gradle path in unity 2018.1, plz help
Go to Edit -> Prefences -> External Tools scroll down you will see gradle installed with unity disable that then below it there will be a path delete it then paste yours :)
Happy Coding!
hi, erorr persists
Youre the man!
Hello There when i try to build the game for android apk it creates a folder called debugsomething does anybody knows the reason
THE ONLY SOULUTION !!!!!!!!!!!!
ignore all forums and videos this is the one!!
same error after everything was done
It doesn't work for me, I don't know what it is
@@cherin5959 is it a duplicate error?
@@micol04 I am installing a version 2022 maybe that error will not happen to me
@@cherin5959 in my case I was using lightship ar . And it contained its own ar core. Then I checked Google ar core also. So there’s duplicate AR. So, I unchecked Google ar, went to package manager and uninstalled Google ar and xr manager . And suddenly Gradle and all the other errors just didn’t matter and it built right there in minutes on unity. No need for android studio anymore. Unity already installed everything you need including the JDK,SDK, NDK and gradle all were okay …(I think this is incase of duplicate errors only)
im tired u.u
Not gonna fix my problem with this shitty music
Nothing works for me😔 I've tried everything I'll just give up
I check development build on and it works. Bit I need a release build anyhow.
Make sure you select the correct plug-in the XR Plug-in manager - Oculus or OpenXR in the android section, this can also throw the Gradle error.
@@randalsmith999 did it. still same error
\
Exception: Gradle install not valid
Unity.Android.Gradle.AndroidGradle..ctor (System.String gradleLauncherPath, System.Int32 jvmHeapSize) (at :0)
UnityEditor.Android.GradleWrapper.CreateGradleInstance () (at :0)
UnityEditor.Android.PostProcessAndroidPlayer.ExecuteWarmup (System.String stagingArea) (at :0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput buildProgramOutput) (at :0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
JA JA JAJAJAJAJAJAJJAJAJAJJAJAJAAJAJAJAJAJAJAJJAJAJAJAJAJAJAJAJAJAJJAJAJAJAJAJAJAJAJAJJAJA
I also got same error . Have you fix it . If yes then please tell how to solve this problem.
@@startsmart211 same here
waht this really working 🙃🤍