Quantcast
Channel: Questions in topic: "android sdk"
Viewing all 455 articles
Browse latest View live

CommandInvokationFailure: Failed to re-package resources.

$
0
0
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 :0 at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.BuildResources.CompileResources (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.BuildResources.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :0 at UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :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)

CommandInvokationFailure: Failed to re-package resources

$
0
0
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. Attached the complete log file too. [link text][1] 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 :0 at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.BuildResources.CompileResources (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.BuildResources.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :0 at UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in :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) [1]: /storage/temp/117986-editor.txt

can't build my game on my new computer "faild to build apk"

$
0
0
I got a new laptop to develop on the go. After I was ready to test the first alpha version I downloaded the android sdk and java jdk. I kept getting the error "unable to list target platforms". After a day of researching and playing around with android development studio I found a solution to downgrade the tools folder in the sdk root folder, which I did. Now after that I didn't get the error "unable to list target platforms" but now I'm getting a new error "faild to build apk" ![alt text][1] ![alt text][2] [1]: /storage/temp/105528-1.png [2]: /storage/temp/105529-2.png At this point I'm verry frustrated since I was supose to show the game to my friend 2 days ago who helped me on it with the art, but this error keeps apearing. I hope someone can help me because I've searched for hours but can't find a solution . Thanks in advanced(I apologize for my bad grammar).

android studio and sdk is not working

$
0
0
hello everyone,i am trying to develope a game for android plateform , so i download android studio and install it but there is no android sdk in it . someone suggested me to download android sdk separately and install plateform tools and other stuff. so i tried this solution but there is no option to download plateform tools and other things.sorry for my poor english.but i really need help..thanks ..![alt text][1] [1]: /storage/temp/118355-andr.png

I am having trouble building the project for android (i can't build)

$
0
0
![CommandInvokationFailure: Failed to re-package resources. C:\Game Development\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:/Game Development/Android Sdk\platforms\android-27\android.jar" -F bin/resources.ap_ stderr[ AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'theme' with value '@style/UnityThemeSelector'). AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/app_icon'). AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name'). AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'banner' with value '@drawable/app_banner'). AndroidManifest.xml:5: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name'). ] stdout[ Configurations: (default) Files: AndroidManifest.xml Src: () AndroidManifest.xml Resource Dirs: Including resources from package: C:\Game Development\Android Sdk\platforms\android-27\android.jar applyFileOverlay for drawable applyFileOverlay for layout applyFileOverlay for anim applyFileOverlay for animator applyFileOverlay for interpolator applyFileOverlay for transition applyFileOverlay for xml applyFileOverlay for raw applyFileOverlay for color applyFileOverlay for menu applyFileOverlay for font applyFileOverlay for mipmap ] exit code: 1 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()][1] [1]: /storage/temp/118451-2.png

Build Failure: Unable to list target platforms - Unity 2017.1.4p2

$
0
0
I tried building my Android prototype in Unity 2017.3.1f1, there was the same error so I googled and found that I should do a downgrade of SDK tools to version 25.2.5, so I did and it still didn't work. Then I downloaded the latest Unity 2017.1.4p2 and updated SDK tools through Android Studio to 26.1.1 but still doesn't work. Here are the screenshots of error: ![alt text][1] ![alt text][2] [1]: /storage/temp/119453-screenshot-3.jpg [2]: /storage/temp/119454-screenshot-5.jpg

Unity not being able to build to Android despite having the current android sdk installed.

$
0
0
In the Android Studio SDK manager, I checked every Version from 4.0 to 8.1, and downloaded them. The Path to those Files are E:\Users\Nicolai\AppData\Local\Android with Android being the SDK Folder. However, when I try to build the Game in the Editor, I get this error thrown at me: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. E:/Users/Nicolai/AppData/Local/Android\tools\bin\avdmanager.bat list target -c I tried several things including installing older Versions, resulting in Unity wanting a newer Version and reinstalling the SDK multiple times. I am in desperate need of help for this problem, as I want to test my APP on an Android Phone. I am using Unity 2018.1.6f1 Personal Edition (64Bit) And I have a Project Set up for Android, exporting an empty project wont work as well. Android SDK Tools is on version 26.1.1 Android SDK Platform-Tools is on version 28.0.0 Android SDK Build-Tools doesnt have a Version Field, but is named 28, so I suppose it's version 28. Android Emulator is on version 27.2.9 Intel x86 Emulator Accelerator is on version 7.2.0 Support Repository: Android Support Repository is on 47.0.0 Google Repository is on version 58 I don't know if you need this information, but that is everything I got installed in Android Studios SDK Tools Tab with the Version. Thanks for your help in advance, if you need any more information just ask and I will promptly provide it.

Game Working Perfectly on 8.0 Orea but not On 7.0 Nougat

$
0
0
I am developing a game in which at a certain point iam limiting the rotation of a particular GameObject to a certain minimum and maximum value using Mathf.Clamp. Here is the Scripting Part: Vector3 currentRotation = Pillar.transform.rotation.eulerAngles; float dummyY = currentRotation.y; float dummyX = currentRotation.x; if (Mathf.Abs (dummyX - 360f) < 1f) { dummyX = 0f; } float newRotationY = dummyY; float newRotationX = dummyX; if (Up) { newRotationX = dummyX - Time.deltaTime * rotationSpeed; } if (Down) { newRotationX = dummyX + Time.deltaTime * rotationSpeed; } if (RotationUp) { newRotationX = dummyX + Time.deltaTime * rotationSpeed; } if (RotationDown) { newRotationX = dummyX + Time.deltaTime * rotationSpeed; } newRotationY = Mathf.Clamp (newRotationY, -359.99f, 359.99f); newRotationX = Mathf.Clamp (newRotationX, -40f, 60f); if (Pillar2.transform.rotation.x < -40.0f) { Pillar2.transform.rotation = Quaternion.Euler(-40.0f, 0, 0); } currentRotation.y = newRotationY; currentRotation.x = newRotationX; Pillar.transform.rotation = Quaternion.Euler (currentRotation); Now the weird problem iam facing is that this scripts work perfectly on windows and android phones with Oreo 8.0 OS.. but on devices with andriod 7.0 or below.. My Mathf.Clamp function doesnt seem to work properly. It behaves by breaking the min and max limits and rotating on loop if the button is being kept pressed. Iam using the unity version 2017.1.0p4 and also have updated the SDK to the highest available API level till 8.0 OS. Any help or alternate solution for this problem will be highly appreciated.

Can't set up Android SDK path?

$
0
0
I'm on the verge of pulling my hair out of my head. ERROR: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. C:\Users\USERNAME\AppData\Local\Android\Sdk\tools\bin\avdmanager I uninstalled Android Studio, then reinstalled it. Used that SDK path in the External Tools. SDK: C:\Users\USERNAME\AppData\Local\Android\Sdk JDK: C:/Program Files/Java/jdk1.8.0_171 I'm aware that there was or still is a bug related to compatability. So I have tried setting up a different tools folder but that didn't work out either. Everything is a mess now I would appreciate it if someone could please tell me if I'm even using the right path because I've seen some vids where the path of the JDK: C:/Program Files/Android/AndroidStuido/jre or something similar. Any and all help will be appreciated.

Unity 2017. 1.0f3 : wont find the android SDK

$
0
0
Unity 2017. 1.0f3 : wont find the android SDK CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. B:/Work/Android Studio/jre\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="B:/Work/Android_SDK\tools" -Dfile.encoding=UTF8 -jar "B:\Work\Unity 2017_1_0f3\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" I have tried android SDK build tools individually from version 24.0.0 to 28.0.1. Unity will not detect the SDK even when its directed to the correct location. I am installing and uninstalling the SDKs by android studio SDK manager. Can anyone help me troubleshoot this to a solution?

What UNITY with what ANDROID SDK and JDK work? Please provide a list

$
0
0
Can Unity please provide a straight forward list of what Unity version work with what android API level, Android SDK, Android Platform tools, Android SDK Build tools, and JDK ? Nothing up to date works. Searching for answers out of hundreds of different versions of all factors is ridiculous. Can Unity make a list of working solutions?

Unable to list target platforms. Please make sure the andorid sdk path is correct. See the cosole for more details.

$
0
0
For this issue to get solved. I checked some of the answers and they dont help. I am using android studio to create android apps and i cannot change any folder or path in the android sdk folder, right? Otherwise that would affect my android apps building and creation of them. So now, i need some sdk path solution here that can help me resolve this issue and build a game app for android. This is the log that i am getting. Error building Player: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. C:\Program Files\Android\Android Studio\jre\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="C:/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" - The android sdk path is correct to my knowledge as i am using it in android studio to build my apps. Why is it having issues here then? ![alt text][1] [1]: /storage/temp/121887-sdk-path.png

Google Cardboard VR Project Says Pixel Phone is Not Compatible Device

$
0
0
Hello! I'm trying to build a Cardboard VR app to my Pixel phone using Unity 2018.1.0f. The Pixel is running Android 8.1.0. When I try to Build and Run, I get the error: `'Hardware of device Google Pixel is not supported'.` I've tried reinstalling Android studio and the Android SDKs to ensure that it's not a USB driver issue, and I can build a non-VR app to my phone, so USB Debugging is on and working properly. Unity also recognizes that the Pixel is connected, so I doubt this is the problem. I've downloaded the latest Cardboard VR SDKs and reimported them, but it still gets the error. I have the VR Supported option and Cardboard SDK enabled in my Player Settings, and my minimum API is 4.4. Target is Highest Installed. I've tried building to my Pixel and a Pixel XL. Both get the error. Is there anything else I could be missing? ![halp][1] [1]: /storage/temp/122194-xrsettings.jpg

Unity can't find android sdk path

$
0
0
I'm trying to build my unity program to the android platform but every time I try it gives me the "Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for details." error message. I've already done hours worth of research for this but nothing works. I've tried uninstalling and reinstalling Android Studio, used an older sdk version, installed every SDK platform, watched countless youtube videos and much more. Does the newest version of unity just not build to android with the current SDK version? I would appreciate any solutions. Thanks!

sdk tools is outdated version 0.0.0 < 23.0.0,sdk tools is outdated O.O.O

$
0
0
Hello i am in windows 8.1 unity 2017.2.1, trying to make an android game and when i try to make a build a message tell me sdk tool is outdated 0.0.0 <23.0.0 i try all the method tool v 25.25 but nothing has worked anyone can help me please,

Android SDK problem

$
0
0
Hello, I'm trying to make android games. I installed the JDK but I have a problem with the SDK. I can't open the "android.bat" file, I tried to open it as administrator but it didn't work either, when I double click it, it shows black box for a few time and then it disappears, I'm running Windows 10, please help!

unity cant find Android SDK namespaces?

$
0
0
When I try to access the android SDK through scripts by directives (using), unity will allows throw the error CS0246: The type or namespace name `Android' could not be found. Are you missing an assembly reference? using android.os; using android.app; anything that is in the Android SDK will error in unity, why? How can i make this work?

How to get more results on unity ads

$
0
0
I'm working in a game, and i would like to know what i need to implement a callback, that return if the player clicked or downloaded the shown ad, i want to reward the player based in that result. I searched on the internet, but i didn't find anything. Unity's ShowResult Finished,Skipped,Failed is not what i'm searching for, all information is appreciated.

When launching the app, the screen blacks out on Android 8.0 (API 26) above.

$
0
0
Greetings, Google will soon restrict Apps with Android API below 25 being published on Google Play around end of November, in order to align with this new policy, we have encounter some difficulties during the developing process. We are currently using Unity 4.7.2fl for our app development, and has set the AndroidManifest.xml’s Target SDK as 26, however it could not run normally on devices with Android 8.0 and above. When launching the app, the screen blacks out. So far we do know that the blackout is caused by the game’s permission being unauthorized, however with Unity4.7.2fl, normally it shouldn’t pop the authorization window to players. We have looked through some forums and many developers solve it by updating it to Unity 2017 above, however due to developing reasonings, we are only able to use Unity 4. Are there any other developers that have encountered similar issue? And are there any examples/guides on how to solve this? Your help is highly appreciated. Thanks in advance.

no place to install jdk & sdk

$
0
0
![alt text][1] [1]: /storage/temp/123584-untitled.png
Viewing all 455 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>