Android Build fails

CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\Rohan\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/Rohan/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()

Does Anyone know what is the issue of this problem?

I am not sure but it may have to do with the bundle identifier in player settings.

The bundle identifier should be in this format;- com.companyname.productname

Also don’t keep the ‘default’ bundle identifier, company name, and product name…make up some names for your company and product and modify the bundle identifier to suit it.

Hey @r3nrohan

Did you figure it out? Having the same issue.

Hi,

today I was able to build, I’ve opened Android SDK Manager uninstalled all and installed only the last 23 version of android tools and build… seems the version 25 has some compatibility issues,