Android re-package error - CommandInvokationFailure
Hi so I have googled this question, and I have tried all of those solutions but none of them worked. I dont know whats going... I have installed both the Java SDK (JDK) and the Android SDK and have linked them in Unity to the correct Path and I have downloaded the correct tools, extras, and version from the Android SDK.
Im losing my mind why this is refusing to build to an APK.
thank you in advance for answering and sorry if I'm just dumb and this is an easy fix.
Console Print:
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\tro\AppData\Local\Android\sdk\build-tools\24.0.0-preview\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/tro/AppData/Local/Android/sdk\platforms\android-23\android.jar" -F bin/resources.ap_
stderr[
]
stdout[
]
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.PostProcessAndroidPlayer.Exec (System.String command, System.String args, System.String workingdir, System.String[] progress_strings, Single progress_value, System.String errorMsg)
UnityEditor.Android.PostProcessAndroidPlayer.CompileResources (System.String stagingArea, System.String packageName, UnityEditor.Android.AndroidLibraries androidLibraries)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
UnityEditor.HostView:OnGUI()
Your answer
Follow this Question
Related Questions
Unable to package Android app resources, even when blank app. 100 following. 0 Answers
CommandInvokationFailure: Unable to merge android manifests. See the Console for more details. 1 Answer
Unable to merge android manifest (Theme.Translucent) 0 Answers
I am getting an error when upgrading the Unity version. 0 Answers
Unity 2017.2.0b9 ARCore build&run with Pixel XL (Android 8.0) Failed 0 Answers