CommandInvokationFailure: Failed to re-package resources.
Stuck in a problem from past two days, Also re-installed the sdk but no success.
1. Checked the Build-Tools Folder , there is a folder: 27.0.3.
2. I am using Unity 28.1.1f1.
3. Have been using JDK: "jdk1.8.0_172".
4. Working on Windows 10.
Unable to understand the reason. Please help
CommandInvokationFailure: Failed to re-package resources.
C:\Users\Amit\AppData\Local\Android\sdk\build-tools\27.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/Amit/AppData/Local/Android/sdk\platforms\android-27\android.jar" -F bin/resources.ap_ --extra-packages android.arch.core:android.arch.lifecycle.livedata.core:android.arch.lifecycle:android.arch.lifecycle.viewmodel:com.clevertap.unity:android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.asynclayoutinflater:android.support.v7.cardview:android.support.coordinatorlayout:android.support.cursoradapter:android.support.customtabs:android.support.customview:android.support.design:android.support.design.animation:android.support.design.bottomappbar:android.support.design.bottomnavigation:android.support.design.bottomsheet:android.support.design.button:android.support.design.canvas:android.support.design.card:android.support.design.chip:android.support.design.circularreveal:android.support.design.circularreveal.cardview:android.support.design.circularreveal.coordinatorlayout:android.support.design.color:android.support.design.dialog:android.support.design.drawable:android.support.design.expandable:android.support.design.floatingactionbutton:android.support.design.internal:android.support.design.math:android.support.design.navigation:android.support.design.resources:android.support.design.ripple:android.support.design.shape:android.support.design.snackbar:android.support.design.stateful:android.support.design.textfield:android.support.design.textfield:android.support.design.theme:android.support.design.transformation:android.support.design.typography:android.support.design.widget:android.support.documentfile:android.support.drawerlayout:android.support.interpolator:android.support.loader:android.support.localbroadcastmanager:android.support.print:android.support.v7.recyclerview:android.support.slidingpanelayout:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.graphics.drawable:android.support.swiperefreshlayout:android.support.transition:android.support.viewpager:com.google.android.gms.auth.api:com.google.android.gms.auth.api.phone:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.common:com.google.android.gms.gcm:com.google.android.gms.iid:com.google.android.gms.stats:com.google.android.gms.tasks:com.facebook:com.facebook.android:in.locomotion.plugins.login:com.aurodo.vehicles4d.resources -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\android.arch.core.runtime-1.1.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\android.arch.lifecycle.livedata-core-1.1.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.1.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\android.arch.lifecycle.viewmodel-1.1.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\clevertapsdk-unity\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.animated-vector-drawable-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.asynclayoutinflater-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.cardview-v7-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.coordinatorlayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.cursoradapter-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.customtabs-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.customview-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-animation-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-bottomappbar-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-bottomnavigation-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-bottomsheet-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-button-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-canvas-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-card-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-chip-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-circularreveal-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-circularreveal-cardview-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-circularreveal-coordinatorlayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-color-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-dialog-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-drawable-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-expandable-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-floatingactionbutton-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-internal-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-math-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-navigation-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-resources-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-ripple-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-shape-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-snackbar-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-stateful-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-tabs-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-theme-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-transformation-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-typography-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-widget-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.documentfile-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.drawerlayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.interpolator-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.loader-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.localbroadcastmanager-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.print-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.recyclerview-v7-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.slidingpanelayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-compat-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-fragment-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-v4-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.support-vector-drawable-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.swiperefreshlayout-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.transition-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.viewpager-28.0.0-alpha1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-15.0.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-15.0.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-15.0.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-gcm-15.0.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.10.1\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\google-login-kit\res" -S "C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res"
stderr[
C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_hide_password.xml:22: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_hide_password_1
C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_hide_password.xml:57: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_hide_password_2
C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_hide_password.xml:73: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_hide_password_3
C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_show_password.xml:22: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_show_password_1
C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_show_password.xml:56: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_show_password_2
C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-textfield-28.0.0-alpha1\res\drawable-v21\avd_show_password.xml:72: note: generating nested resource com.aurodo.vehicles4d:drawable/avd_show_password_3
Failed to generate resource table for split ''
C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-28.0.0-alpha1\res\values-v28\values-v28.xml:7: error: Error: No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius').
]
stdout[
Configurations:
(default)
Files:
drawable\close.png
Src: () C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\close.png
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Type drawable
drawable\close.png
Src: () C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\close.png
Including resources from package: C:\Users\Amit\AppData\Local\Android\sdk\platforms\android-27\android.jar
applyFileOverlay for drawable
trying overlaySet Key=com_facebook_auth_dialog_background.xml
trying overlaySet Key=com_facebook_auth_dialog_cancel_background.xml
trying overlaySet Key=com_facebook_auth_dialog_header_background.xml
Processing image: C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\close.png
(processed image C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\unity-android-resources\res\drawable\close.png: 45% size of source)
(new resource id design_layout_tab_text from C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-tabs-28.0.0-alpha1\res\layout\design_layout_tab_text.xml)
(new resource id design_menu_item_action_area from C:\Users\Amit\Desktop\Vehicles_Unity\Anwar\10-april\Vehicles10Apr2018\Vehicles\Temp\StagingArea\android-libraries\com.android.support.design-internal-28.0.0-alpha1\res\layout\design_menu_item_action_area.xml)
]
exit code: 1
at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in <filename unknown>:0
at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in <filename unknown>:0
at UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg) [0x00000] in <filename unknown>:0
at UnityEditor.Android.PostProcessor.Tasks.BuildResources.CompileResources (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in <filename unknown>:0
at UnityEditor.Android.PostProcessor.Tasks.BuildResources.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in <filename unknown>:0
at UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in <filename unknown>:0
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
UnityEditor.DefaultBuildMethods:BuildPlayer(BuildPlayerOptions) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:165)
UnityEditor.BuildPlayerWindow:CallBuildMethods(Boolean, BuildOptions) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:89)
UnityEditor.BuildPlayerWindow:GUIBuildButtons(IBuildWindowExtension, Boolean, Boolean, Boolean, BuildPlatform) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:885)
UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:810)
UnityEditor.BuildPlayerWindow:OnGUI() (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:415)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:291)
UnityEditor.HostView:Invoke(String) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:284)
UnityEditor.HostView:OldOnGUI() (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:103)
UnityEngine.Experimental.UIElements.IMGUIContainer:DoOnGUI(Event) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:206)
UnityEngine.Experimental.UIElements.IMGUIContainer:HandleIMGUIEvent(Event) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:366)
UnityEngine.Experimental.UIElements.IMGUIContainer:HandleEvent(EventBase) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:350)
UnityEngine.Experimental.UIElements.EventDispatcher:DispatchEvent(EventBase, IPanel) (at C:\buildslave\unity\build\Modules\UIElements\EventDispatcher.cs:215)
UnityEngine.Experimental.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:224)
UnityEngine.Experimental.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:77)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:184)
(Filename: Line: -1)
DisplayProgressNotification: Build Failed
Error building Player: 2 errors
(Filename: Line: -1)
Unloading 1 Unused Serialized files (Serialized files now loaded: 0)
System memory in use before: 193.7 MB.
System memory in use after: 194.0 MB.
Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 4201.
Total: 105.477885 ms (FindLiveObjects: 6.263929 ms CreateObjectMapping: 0.308937 ms MarkObjects: 98.817263 ms DeleteObjects: 0.086214 ms)
I am not familliar with Android errors, but it seems the problem comes from a file called dialogCornerRadius
. Have you got a file named like this in your assets?
Answer by liortal · Jun 01, 2018 at 10:28 AM
From the log, it looks like you're using an "alpha" version of one of the libraries (com.android.support.cardview-v7-28.0.0-alpha1).
Usually, libraries in your project are being resolved by the PlayServicesResolver plugin. it has a certain configuration file (xml or in code) that dictates which versions it should use. You should probably configure it to use another version of the support library, that would solve your current issue.
NOTE:
I provide a (paid) service for solving such issues. just in case you haven't succeeded in fixing this problem yourself by my advice (or other developers' advice here), feel free to contact me for help.