CommandInvokationFailure: Failed to build apk.
I am gonna make Vuforia project but I've got error. I have tried many things since two days, please help me! My setup is Unity 2018.2.10f1, jdk1.8.0_191 and Android SDK-Tools 26.1.1
...
CommandInvokationFailure: Failed to build apk.
...
C:/Program Files/Java/jdk1.8.0_191\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Android_SDK\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
stderr[ Error: Duplicate file(s) in apk: 'E:\1. WORKSHOP SEACC\AUGUMENTED REALITY\KARYA\Bismillah\Temp\StagingArea\android-libraries\VuforiaWrapper\libs' ] stdout[
] exit code: 255 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.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg, Int32 memoryMB) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Your answer
Follow this Question
Related Questions
Build Failure Error: Unity-AndroidSDK-Vuforia 0 Answers
Builds Apk Error/ Unity 2019.3.15 0 Answers
Building Android Project stuck on " Task generateReleaseResources" 1 Answer
Why is it so complicated to create an APK for Android using Unity? 1 Answer
Unable to generate 64 bit android apk for Unity project 0 Answers