Download HOT! Gradle 5.6.4 For Unity

0 views
Skip to first unread message

Dulcie Yauck

unread,
Jan 18, 2024, 4:16:48 PM1/18/24
to gradcongbeancwhee

Since I want to add Firebase to my Android Game I want to include Google Auth. But I have the following Problem. I need to add some Code to the build.gradle File but I cant find it in my Unity Project.

From Unity v2018.3 onwards, you can add your own custom Gradle build file by simply enabling the Custom Gradle Template property on the Player window (which can be accessed by File > Build Settings > Player Settings > Publishing settings).This generates a default mainTemplate.gradle file for you, which you can edit.

download gradle 5.6.4 for unity


Download ————— https://t.co/j3X3gPrD5n



This is because android.enableR8 is deprecated. To remove it from your gradle.properties file you have to go to Project Settings > Player > Android (Tab) > Publishing Settings > Custom Gradle Properties Template check this.

To get the files on my work pc, I grabbed the entire Unity project (this includes the ndk/sdk/gradle/etc), as well as the Gradle cache (I grabbed the entire .gradle folder just in case) and transferred the files via usb to my work pc. I opened the Unity project and pressed build, but the build fails and shows the error mentioned above. Exporting the Unity project to Android Studio and building through there produces the same error. I tried replacing the entire gradle caches folder on my offline pc, just the files-2.1 folder, and even the entire .gradle folder, but nothing works.

Maybe your problem is, that you actually moved the whole .gradle directory.
That could maybe work if the machines are identical regarding paths and so on.
Otherwise, you might have a look at Understanding dependency resolution, maybe that helps.

As usual, I cannot complete an Android build because it is causing Gradle issues. I have searched this forum as will as Stack Overflow and have not been able to find a solution that worked. I tried downloading gradle 6.1.1 as was recommended here and unchecked the Stop Gradle daemons on exit option as was recommended via a YouTube video someone in this forum linked a few weeks ago, but I'm still facing the issue.

In the console, I see the following exception. The problem seems to be related to the settings.gradle file but I'm not sure what the issue is. I tried using other settings.gradle configurations that I had seen on other forums such as Stack Overflow, but those aren't working, either.

Plugin id "com.android.library":
The Dynatrace Android Gradle plugin only instruments Android app projects. But the shared build.gradle file is used for building an Android library.
I found this page but it does not exist for version 2020.3. Based on the specification on this page you would have to add the Dynatrace plugin configuration to the file root/build.gradle and then it should automatically detect the Android app module in the location root/launcher/build.gradle

Using ironSource Integration Manager for Unity, you will be able to avoid downloading the Android artifacts into your project. Instead, the artifacts will be added to your gradle file during the compilation.

Hi, I'm using unity 2019.4.15f1c1 and VIVE Wave XR Plugin versions-5.3.2-r.4 to develop. The Scene I use is VRTestApp, while the build always fails, the info is:

E:\zhanghq21\unityProgram\dev0831\Temp\gradleOut\launcher\build\intermediates\merged_manifests\release\AndroidManifest.xml:55: AAPT: error: resource style/Theme.WaveVR.Black (aka com.vrm.unity.VRTestApp:style/Theme.WaveVR.Black) not found.

CommandInvokationFailure: Gradle build failed.
D:/software/unity/editor/2019.4.15f1c1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "D:\software\unity\editor\2019.4.15f1c1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

df19127ead
Reply all
Reply to author
Forward
0 new messages