Open kfs121 opened 1 year ago
++ i don't know why build complete. I kept failing the build a few days ago, but when I woke up after sleeping and tried to build again, I thought it wouldn't work, but it worked. I do not know why.
baseProjectTemplate.gradle: // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
allprojects { buildscript { repositories {ARTIFACTORYREPOSITORY google() jcenter() }
dependencies {
// If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity
// See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
// See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
// To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version
classpath 'com.android.tools.build:gradle:4.1.0'
**BUILD_SCRIPT_DEPS**
}
}
repositories {**ARTIFACTORYREPOSITORY**
google()
jcenter()
flatDir {
dirs "${project(':unityLibrary').projectDir}/libs"
}
}
}
task clean(type: Delete) { delete rootProject.buildDir }
gradleTemplate.properties: org.gradle.jvmargs=-XmxJVM_HEAP_SIZEM org.gradle.parallel=true android.enableR8=MINIFY_WITH_R_EIGHT unityStreamingAssets=.unity3dSTREAMING_ASSETS
android.useAndroidX=true android.enableJetifier=true
ADDITIONAL_PROPERTIES
gradle version set: gradle-6.7.1
and i checked use R8 option..
Facing that issue. Need help
you should try build for android 32 or 30 then go higher 33 or 34 ,then build will succeed
This issue is stale because it has been open for 30 days with no activity.
MAX Plugin Version
5.10.1
Unity Version
2020.3.47.f1
Device/Platform Info
Window 10
Current Behavior
I can't build.
first show this failed masage
and console
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings 88 actionable tasks: 58 executed, 30 up-to-date
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
i tried android.enableD8=true android.enableR8=false in gradleTemplate.properties
and already my Mnimum API Level is 24.
T-T.. Help me.. this is my final step..
if you needs more infos, i will provide more information.
Expected Behavior
No response
How to Reproduce
Um.. I'm not sure what to list because I've changed so many times while making the game. What might be relevant is that I installed the Google Admob plugin first before AppLovin.
Additional Info
No response