Can't build android application
I have installed google USB driver, Android 6.0(API 23)---SDK Platform, Google API's, Android SDK build tool 24. After installing these things and I build the game after some minute I got this error at my console.
CommandInvokationFailure: Failed to re-package resources. C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.0\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Program Files (x86)/Android/android-sdk\platforms\android-23\android.jar" -F bin/resources.ap_
stderr[
] stdout[
] exit code: -1073741819 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg, Int32 retriesOnFailure) UnityEditor.HostView:OnGUI()
Answer by ABHIJITsingh12345 · May 30, 2017 at 05:13 AM
I now know the answer uninstalled Android SDK build tool 24 and install Android SDK build tool 23.01
Your answer
Follow this Question
Related Questions
Android build error 1 Answer
Unity 2019.2 can't locate ndk or use ndk 0 Answers
Android SDK error build 7 Answers
I am having trouble building the project for android 0 Answers
Can't build apk getting error 0 Answers