Please any one know how to fix this error. error must be in the manifest.xml and tried to change variables and that didn't help. i'm using unity 2018.2.13f1 and jdk vesrion 8.0_192
CommandInvokationFailure: Gradle build failed. C:/Program Files/Java/jdk1.8.0_192\bin\java.exe -classpath "D:\Programs\Unity 2018\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
stderr E:\Projects\SahanD\Contracts\easyshopping\easyshopping\Temp\gradleOut\src\main\AndroidManifest.xml:10:52-76 Error: Attribute meta-data#com.google.ar.core@value value=(required) from AndroidManifest.xml:10:52-76 is also present at [:VuforiaWrapper:] AndroidManifest.xml:24:13-37 value=(optional). Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:16:5-77 to override.
FAILURE: Build failed with an exception.
-
Manifest merger failed : Attribute meta-data#com.google.ar.core@value value=(required) from AndroidManifest.xml:10:52-76
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 1s ] stdout[ :preBuild UP-TO-DATE :preReleaseBuild UP-TO-DATE :compileReleaseAidl UP-TO-DATE :compileReleaseRenderscript UP-TO-DATE :checkReleaseManifest UP-TO-DATE :generateReleaseBuildConfig UP-TO-DATE :prepareLintJar UP-TO-DATE :generateReleaseResValues UP-TO-DATE :generateReleaseResources UP-TO-DATE :mergeReleaseResources UP-TO-DATE :createReleaseCompatibleScreenManifests UP-TO-DATE :processReleaseManifest
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
:processReleaseManifest FAILED 10 actionable tasks: 1 executed, 9 up-to-date ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1 progress, System.String error) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1 progress) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1 progress) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Your answer
Follow this Question
Related Questions
Android Unable to merge manifest Error 2 Answers
help with build error 0 Answers
Gradle Error The attribute applicatio@label=@string/app_name colides with another value 1 Answer
Unable to select Unity C# Project when building Vuforia project on Unity 2017.2.0 2 Answers
[HELP] A problem on an Android Version 0 Answers