Quantcast
Viewing all 330 articles
Browse latest View live

Unable to merge manifest - building augmented to apk

SO CONFUSE WITH THIS ERRORS, I'M SO STRESS RIGHT NOW NEED HELP CommandInvokationFailure: Unable to merge android manifests. See the Console for more details. C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/NicMic/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" - gingArea\AndroidManifest-main.xml:2, C:\Users\Public\Documents\Unity Projects\The COLOR\Temp\StagingArea\android-libraries\gvr_android_common\AndroidManifest.xml:2] Main manifest has but library uses minSdkVersion='16' Error: [Temp\StagingArea\AndroidManifest-main.xml:2, C:\Users\Public\Documents\Unity Projects\The COLOR\Temp\StagingArea\android-libraries\unitygvractivity\AndroidManifest.xml:2] Main manifest has but library uses minSdkVersion='19' ] stdout[ Warning: [Temp\StagingArea\AndroidManifest-main.xml:2, C:\Users\Public\Documents\Unity Projects\The COLOR\Temp\StagingArea\android-libraries\gvr-permissionsupport-release\AndroidManifest.xml:3] Main manifest has but library uses targetSdkVersion='24' Warning: [Temp\StagingArea\AndroidManifest-main.xml:2, C:\Users\Public\Documents\Unity Projects\The COLOR\Temp\StagingArea\android-libraries\unitygvractivity\AndroidManifest.xml:2] Main manifest has but library uses targetSdkVersion='22' ] UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.HostView:OnGUI() stderr[ Error: [Temp\StagingArea\AndroidManifest-main.xml:2, C:\Users\Public\Documents\Unity Projects\The COLOR\Temp\StagingArea\android-libraries\gvr-permissionsupport-release\AndroidManifest.xml:3] Main manifest has but library uses minSdkVersion='19' Error: [Temp\Sta

Build error for gear vr app involving manifest

I am making a prototype for a simple game and right now the project is as simple as possible, a textured cube imported from blender with an orb inside it also imported from blender. I also imported the character package from the assets menu and added an FPSController to my scene. I have managed to build and run this on android (though the controls didn't work...) but when I try to build it for the gear vr following this guide: http://www.androidauthority.com/create-first-gear-vr-app-690512/ I get a build error Here are screenshots of my build and player settings: ![alt text][1] ![alt text][2] [1]: /storage/temp/94274-build-settings.png [2]: /storage/temp/94275-player-settings.png And here is the output from the editor.log file: /Users/colinmctaggart/Dropbox/WORK/Unity/Gallery/Temp/StagingArea/AndroidManifest-main.xml:4:125-150 Error: Attribute application@debuggable value=(true) from AndroidManifest-main.xml:4:125-150 is also present at AndroidManifest.xml:3:148-174 value=(false). Suggestion: add 'tools:replace="android:debuggable"' to element at AndroidManifest-main.xml:4:3-12:17 to override. /Users/colinmctaggart/Dropbox/WORK/Unity/Gallery/Temp/StagingArea/AndroidManifest-main.xml:4:16-57 Error: Attribute application@theme value=(@style/UnityThemeSelector) from AndroidManifest-main.xml:4:16-57 is also present at AndroidManifest.xml:3:83-147 value=(@android:style/Theme.Black.NoTitleBar.Fullscreen). Suggestion: add 'tools:replace="android:theme"' to element at AndroidManifest-main.xml:4:3-12:17 to override. UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object) UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogError(Object) UnityEditor.Android.AndroidSDKTools:DetectErrorsAndWarnings(String, String) UnityEditor.Android.AndroidSDKTools:RunCommandInternal(String, String, String[], Int32, String, WaitingForProcessToExit, String) UnityEditor.Android.AndroidSDKTools:RunCommandSafe(String, String, String[], Int32, String, WaitingForProcessToExit, String) UnityEditor.Android.AndroidSDKTools:RunCommand(String[], Int32, String, WaitingForProcessToExit, String) UnityEditor.Android.AndroidSDKTools:RunCommand(String[], String, WaitingForProcessToExit, String) UnityEditor.Android.AndroidSDKTools:RunCommand(String[], WaitingForProcessToExit, String) UnityEditor.Android.AndroidSDKTools:MergeManifests(String, String, String[], WaitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest:MergeManifests(PostProcessorContext, String, String) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest:Execute(PostProcessorContext) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks(PostProcessorContext) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions, RuntimeClassRegistry) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess(BuildPostProcessArgs) UnityEditor.PostprocessBuildPlayer:Postprocess(BuildTargetGroup, BuildTarget, String, String, String, Int32, Int32, String, String, BuildOptions, RuntimeClassRegistry, BuildReport) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:186) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean) UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:485) UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:339) UnityEditor.BuildPlayerWindow:GUIBuildButtons(IBuildWindowExtension, Boolean, Boolean, Boolean, BuildPlatform) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:1390) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:1317) UnityEditor.BuildPlayerWindow:OnGUI() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:913) 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 /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:262) UnityEditor.HostView:Invoke(String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:255) UnityEditor.HostView:OnGUI() (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:84) (Filename: /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs Line: 186) AndroidSDKToolsException: Unable to merge android manifests. See the Console for more details. at UnityEditor.Android.AndroidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest) [0x00000] in :0 at UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.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.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:485) UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:339) UnityEditor.BuildPlayerWindow:GUIBuildButtons(IBuildWindowExtension, Boolean, Boolean, Boolean, BuildPlatform) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:1390) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:1317) UnityEditor.BuildPlayerWindow:OnGUI() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:913) 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 /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:262) UnityEditor.HostView:Invoke(String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:255) UnityEditor.HostView:OnGUI() (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:84) (Filename: Line: -1) Unloading 14 Unused Serialized files (Serialized files now loaded: 0) System memory in use before: 252.4 MB. System memory in use after: 252.5 MB. Unloading 10 unused Assets to reduce memory usage. Loaded Objects now: 2848. Total: 11.396306 ms (FindLiveObjects: 0.314574 ms CreateObjectMapping: 0.056932 ms MarkObjects: 10.281447 ms DeleteObjects: 0.742021 ms) Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Advertisements/UnityEngine.Advertisements.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/Standalone/UnityEngine.Networking.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/TestRunner/standalone/nunit.framework.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityHoloLens/Runtime/UnityEngine.HoloLens.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityPurchasing/UnityEngine.Purchasing.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityVR/Runtime/UnityEngine.VR.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Advertisements/UnityEngine.Advertisements.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/Standalone/UnityEngine.Networking.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/TestRunner/standalone/nunit.framework.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityHoloLens/Runtime/UnityEngine.HoloLens.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityPurchasing/UnityEngine.Purchasing.dll' because we're compiling for Editor:Editor Ignoring '/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/UnityVR/Runtime/UnityEngine.VR.dll' because we're compiling for Editor:Editor - starting compile Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll, for buildtarget 13 Load scene 'Temp/__Backupscenes/0.backup' time: 0.777798 ms Unloading 4 Unused Serialized files (Serialized files now loaded: 0) System memory in use before: 255.5 MB. System memory in use after: 255.7 MB. Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 2859. Total: 13.617915 ms (FindLiveObjects: 0.417748 ms CreateObjectMapping: 0.026472 ms MarkObjects: 13.163993 ms DeleteObjects: 0.007972 ms) *** Completed 'Build.Player.AndroidPlayer' in 20 seconds (20053 ms) [00:00:00] Enlighten: Precompute started. [00:00:00] Enlighten: Finished 1 Layout Systems job (0.00s execute, 0.00s integrate, 0.14s wallclock) [PathTracer][LP] Issuing deduplication and tetrahedralization job. Combined: 80257199cfa681a16be5e09b3c2208f4, tetrahedralized probes: 00000000000000000000000000000000, non-tetrahedralized probes: 00000000000000000000000000000000, dependencies: 00000000000000000000000000000000 [00:00:00] Enlighten: Finished 1 Tetrahedralize Probes job (0.00s execute, 0.00s integrate, 0.05s wallclock) [00:00:00] Enlighten: Precompute took 0.188991 seconds. Enlighten scene contents: 0 geometries. 0 instances. 0 systems. 0 probe groups. 0 cube maps. Scene is up-to-date. [00:00:00] Enlighten: Bake started. [PathTracer][LP] Integrating deduplicated and tetrahedralized probes for hash 80257199cfa681a16be5e09b3c2208f4. Launching external process: /Applications/Unity/Unity.app/Contents/Tools64/JobProcess [00:00:00] Enlighten: Finished 1 Bake Runtime job (0.04s execute, 0.00s integrate, 0.06s wallclock) [00:00:00] Enlighten: Bake took 0.064713 seconds. [PathTracer] Lightmap reset. [PathTracer][LP] Light probes reset. [PathTracer] building lightmap data asset. [00:00:01] Enlighten: Finished 1 Ambient Probes job (0.00s execute, 0.00s integrate, 0.05s wallclock) [00:00:01] Enlighten: Finished 1 Reflection Probes job (0.00s execute, 0.00s integrate, 0.07s wallclock) I understand that there are conflicting properties in android manifest files and unity doesn't know how to automatically resolve them but I don't know where these files are, the log doesn't give filenames or paths and I can't find any manifest files in the project. Does anyone know how I can get this to build properly?

AndroidManifest-main error when exporting project on another PC.

I have a problem when I try to export a project. It was done on my PC and I don't have issues with it, but when I try to export it while working from another PC, it gives me merging errors like this: ![alt text][1] [1]: /storage/temp/95929-mergingerror.png This only happens when I'm working on every PC that wasn't mine, and I don't know how can I solve it. Thanks in advance, I will wait for an answer.

Unable to merge android manifests while integrating Rewarded Videos from Admob

Hi, I was trying to integrate Rewarded Videos from Admob into my game. Tried building & running my game and this error popped up. I looked at a dozen solutions related to the manifest merging problem but none have worked so far AndroidSDKToolsException: Unable to merge android manifests. See the Console for more details. UnityEditor.Android.AndroidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.HostView:OnGUI()

Manifest Merge Problem

Hello, I faced the problem with manifest merging. I use custom manifest. And i got error when i am adding permission.C2D_MESSAGE permissions. Without it there no errors. How to understand the problem? I checked libraries and there no thoose permissions. I'm using Unity 5.6.1f1 Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom.mylib.test/Manifest; Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom.mylib.test/Manifest$permission; Manifest Code: Update: I just tried build via gradle and there no errors, seems internal builder is bugy

after i imported admob to my android unity project and edited the code, error occured,after i imported admob to my android unity project, error occured

please note that it is running normally on the editor but when I tries to build it a pop up message appears: FAILED TO REPACKAGE RESOURCES. SEE THE CONSOLE FOR DETAILS. when I opened the console I found: CommandInvokationFailure: Failed to re-package resources. C:\Android\sdk1\build-tools\23.0.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Android/sdk1\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages android.support.v7.appcompat:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.base:com.google.android.gms:com.google.android.gms:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.nearby:com.google.android.gms.tasks:com.google.android.gms.tasks:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4 -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-ads-10.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-ads-lite-10.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-auth-11.0.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-auth-base-11.0.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-base-11.0.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-basement-10.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-basement-11.0.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-drive-11.0.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-games-11.0.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-gass-10.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-nearby-11.0.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-tasks-10.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-tasks-11.0.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\support-compat-25.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\support-core-ui-25.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\support-core-utils-25.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\support-fragment-25.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\support-media-compat-25.2.0\res" -S "C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\support-v4-25.2.0\res" stderr[ C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/abc_alert_dialog_button_bar_material for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/abc_alert_dialog_material for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/abc_dialog_title_material for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.abedjabi.Swish:layout/abc_screen_toolbar for configuration v21. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/abc_search_view for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/notification_template_big_media for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/notification_template_big_media_narrow for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:77: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:96: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:64: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_lines.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/notification_template_lines for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml:43: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml:33: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_media.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/notification_template_media for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_chronometer.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/notification_template_part_chronometer for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_part_time.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/notification_template_part_time for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_multichoice_material.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/select_dialog_multichoice_material for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingEnd from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\select_dialog_singlechoice_material.xml: note: using v17 attributes; synthesizing resource com.abedjabi.Swish:layout/select_dialog_singlechoice_material for configuration v17. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_indicator_material.xml: note: using v21 attributes; synthesizing resource com.abedjabi.Swish:drawable/abc_ratingbar_indicator_material for configuration v21. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\drawable\abc_ratingbar_small_material.xml: note: using v21 attributes; synthesizing resource com.abedjabi.Swish:drawable/abc_ratingbar_small_material for configuration v21. C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:33: error: Attribute "imageAspectRatioAdjust" has already been defined C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:42: error: Attribute "imageAspectRatio" has already been defined C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:44: error: Attribute "circleCrop" has already been defined C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:46: error: Attribute "buttonSize" has already been defined C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:54: error: Attribute "colorScheme" has already been defined C:\Users\Abed Jabi\Documents\Swim\Temp\StagingArea\android-libraries\play-services-base-10.2.0\res\values\values.xml:63: error: Attribute "scopeUris" has already been defined ] stdout[ Configurations: (default) Files: AndroidManifest.xml Src: () AndroidManifest.xml Resource Dirs: Including resources from package: C:\Android\sdk1\platforms\android-23\android.jar applyFileOverlay for drawable trying overlaySet Key=common_full_open_on_phone.png trying overlaySet Key=common_google_signin_btn_icon_dark.xml trying overlaySet Key=common_google_signin_btn_icon_dark_focused.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal.xml trying overlaySet Key=common_google_signin_btn_icon_dark_normal_background.9.png trying overlaySet Key=common_google_signin_btn_icon_disabled.xml trying overlaySet Key=common_google_signin_btn_icon_light.xml trying overlaySet Key=common_google_signin_btn_icon_light_focused.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal.xml trying overlaySet Key=common_google_signin_btn_icon_light_normal_background.9.png trying overlaySet Key=common_google_signin_btn_text_dark.xml trying overlaySet Key=common_google_signin_btn_text_dark_focused.xml trying overlaySet Key=common_google_s what should I do,

Screenshot functionality Android

I am using the script below in an Android project to take a screenshot. In the Editor it works perfectly, but when I push it to an Android device it has an issue. When you first press the button, it does nothing but press it again and it works as intended. I'm thinking this is something to do with the permission perhaps. I do have "android.permission.WRITE_EXTERNAL_STORAGE" in my AndroidManifest. Does anyone now whats causing this? using UnityEngine; using UnityEngine.UI; using System.Collections; using System.IO; public class ScreenshotAVR : MonoBehaviour { public bool hideGUI = false; public Text console; public CanvasGroup ui; public CanvasGroup ui2; public CanvasGroup uiTip; public Image screenshot; void Start(){ screenshot.enabled = false; console.enabled = false; } void OnEnable () { // call backs ScreenshotManager.OnScreenshotTaken += ScreenshotTaken; ScreenshotManager.OnScreenshotSaved += ScreenshotSaved; } void OnDisable () { ScreenshotManager.OnScreenshotTaken -= ScreenshotTaken; ScreenshotManager.OnScreenshotSaved -= ScreenshotSaved; } public void OnSaveScreenshotPress() { ScreenshotManager.SaveScreenshot("MyScreenshot", "MyApp", "jpeg"); if(!hideGUI) ui.alpha = 0f; ui2.alpha = 0f; uiTip.alpha = 0f; screenshot.enabled = true; screenshot.GetComponent().Play (); } void ScreenshotTaken(Texture2D image) { screenshot.sprite = Sprite.Create(image, new Rect(0, 0, image.width, image.height), new Vector2(.5f, .5f)); screenshot.color = Color.white; console.enabled = true; ui.alpha = 1f; ui2.alpha = 1f; uiTip.alpha = 1f; StartCoroutine ("Fade"); } void ScreenshotSaved(string path){ } IEnumerator Fade(){ yield return new WaitForSeconds (2); screenshot.enabled = false; console.enabled = false; } }

Unity 5.6.2.1f Android Build Error

Hi, I am using Unity for Windows and I am getting the following 2 errors. ---------- [Temp\StagingArea\AndroidManifest-main.xml:58, C:\Users\Danish Sinha\Documents\turny-road\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.facebook.FacebookActivity] element: UnityEditor.HostView:OnGUI() ---------- CommandInvokationFailure: Unable to merge android manifests. See the Console for more details. C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:\Users\Danish Sinha\AppData\Local\Android\Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" - stderr[ Error: [Temp\StagingArea\AndroidManifest-main.xml:58, C:\Users\Danish Sinha\Documents\turny-road\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.facebook.FacebookActivity] element: ] stdout[ [Temp\StagingArea\AndroidManifest-main.xml:61, C:\Users\Danish Sinha\Documents\turny-road\Temp\StagingArea\android-libraries\play-services-ads-lite\AndroidManifest.xml:10] Skipping identical /manifest/application/activity[@name=com.google.android.gms.ads.AdActivity] element. [Temp\StagingArea\AndroidManifest-main.xml:7, C:\Users\Danish Sinha\Documents\turny-road\Temp\StagingArea\android-libraries\play-services-basement\AndroidManifest.xml:5] Skipping identical /manifest/application/meta-data[@name=com.google.android.gms.version] element. ] exit code: 1 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.HostView:OnGUI()

White screen before Splash screen change to black

Hello everybody, When I launch my game on android white screen shows for second what is annoying. How can I change this white screen to black? I was searching and I found that I can probably change it when i create AndroidManifest.xml and add there "item name="android:windowBackground">@null/item" but when I tried it I got errors that unity can't merge AndroidManifest so I renamed my AndroidManifest and I didn't have no errors but nothing changed. Am i on right way or what should I do? I have these xml files in Assets>Plugins>Android [link text][1] [link text][2] [1]: /storage/temp/97575-backgroundstyle.txt [2]: /storage/temp/97574-manifest.txt

Unable to merge Android Manifests

Hello, I have an Android project that I develop on Windows machine but the builds are done on Mac machine where it has the license of Unity Pro. Everything was working fine for a couple of years until my boss had to replace the Mac with a newer one because it got old and heavy. Now the same project that was building just fine on the old Mac is not building on the new Mac that has the same Unity version 5.6.2 I get this error when building: /Users/LGUnity/Desktop/Joseph Challenge Dragon/eSportsGalaxy/Temp/StagingArea/AndroidManifest-main.xml:6:83-109 Error: Attribute application@debuggable value=(false) from AndroidManifest-main.xml:6:83-109 is also present at AndroidManifest.xml:5:83-108 value=(true). Suggestion: add 'tools:replace="android:debuggable"' to element at AndroidManifest-main.xml:6:3-36:17 to override. UnityEditor.HostView:OnGUI()

Cross platform Manifests and plugins

I am writing a program with unity that will be cross platform(Windows, Mac, Webgl, Andriod). I need to use separate manifests and separate plugins for each platform. If I read the documentation online correctly, I can control plugins by doing two things... Plugins/Andriod --andriod specific Plugins/iOS --iOS specific Plugins/x86 --32 bit specific Plugins/x86_64 --64 bit specific extension for platform== .bundle (for Mac), .dll (for Windows), and .so (for Linux) If that is incorrect please let me know! I cannot figure out how to do the same thing for manifests...How do I control which of those are used per platform?

Fail to merge manifest with admob [SOLVED]

So im using de admob plugin(only using this one, nothing else) to add ads but when im trying to build the apk i get 3 errors: Error: Error while saving blame file, build will continue Error: El prefijo "tools" para el atributo "tools:overrideLibrary" asociado a un tipo de elemento "uses-sdk" no está enlazado. UnityEditor.HostView:OnGUI() AndroidSDKToolsException: Unable to merge android manifests. See the Console for more details. UnityEditor.Android.AndroidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.HostView:OnGUI() And UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors. at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83 UnityEditor.HostView:OnGUI() https://github.com/unity-plugins/Firebase-Admob-Unity/wiki#install this is the plugin im using So what i had to do (i dont know if is the best solution but it worked) i removed the manifest from plugin\android\androidmanifest, then i edited the one in unity\editor\data\playbackengine\androidplayer\apk so that it matches both and now it builds

Unity not picking versioncode from player settings for android

After I build the apk file in unity, I checked the androidmanifest file. It has versioncode="1" but I have set the Bundle version code as 2 in player settings - > other settings. Do you know why the versioncode is not picked from player settings?

Android build failes because of manifest

I have no idea why this is happening. AndroidSDKToolsException: Unable to merge android manifests. See the Console for more details. UnityEditor.Android.AndroidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.HostView:OnGUI()

Unable to merge Android manifests after making changes

I'm trying to upload a GearVR app to the Oculus store. When trying to validate it, I get the same error as this post: https://forums.oculus.com/developer/discussion/41190/apk-validation-failed The problem is that I've followed all the steps to fix it mentioned in the post but it still doesn't work. After I've modified and copied the AndroidManifest.xml file to Assets/Plugins/Android I get the "Unable to merge manifests" error when I try to Build the APK in Unity. I'm using Unity 2017.1.0f3 Does anyone have any suggestions as to what might be happening?

Failed to recompile resources Facebook sdk integration with admob, unity ads plugin

I am facing this error failed to recompile resources. Can any please guide me in solving this? CommandInvokationFailure: Failed to re-package resources. E:\adt-bundle-windows-x86_64-20140702\adt-bundle-windows-x86_64-20140702\sdk\build-tools\26.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "E:/adt-bundle-windows-x86_64-20140702/adt-bundle-windows-x86_64-20140702/sdk\platforms\android-26\android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:com.facebook:com.facebook.android:com.google.android.gms.measurement:com.google.android.gms.measurement.impl:com.google.firebase:com.google.firebase.remoteconfig:com.google.firebase.crash:com.google.firebase.iid:com.google.unity:com.heyzap:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.clearcut:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.v4:android.support.graphics.drawable:com.abc.apps.resources:com.unity3d.ads -S "E:\fb\Temp\StagingArea\android-libraries\animated-vector-drawable-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res" -S "E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\cardview-v7-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\customtabs-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res" -S "E:\fb\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.10.0\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-analytics-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-analytics-impl-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-common-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-config-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-crash-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-iid-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-ads-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-ads-lite-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-auth-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-auth-base-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-basement-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-clearcut-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-drive-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-games-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-gass-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-nearby-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-tasks-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-compat-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-core-ui-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-core-utils-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-fragment-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-media-compat-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-v4-24.0.0\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-v4-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-vector-drawable-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\unity-android-resources\res" -S "E:\fb\Temp\StagingArea\android-libraries\UnityAds\res" stderr[ E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_alert_dialog_button_bar_material for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_alert_dialog_material for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:36: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_alert_dialog_title_material for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_dialog_title_material for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml:24: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_popup_menu_header_item_layout for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.abc.apps:layout/abc_screen_toolbar for configuration v21. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_search_view for configuration v17. E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/com_facebook_device_auth_dialog_fragment for configuration v17. E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/com_facebook_smart_device_dialog_fragment for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/notification_action for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml:37: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/notification_action_tombstone for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/notification_template_big_media for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:89: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/notification_template_big_media_custom for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\not

google play console apksigner error?

So I want to upload my apk (first app!!) to google play console but when I upload it gives me this error: Error apksigner: ERROR: JAR_SIG_NO_MANIFEST: Missing META-INF/MANIFEST.MF. I have built and signed the apk succesfully using the built-in signing in unity and it generates the .xml manifest file and it seems all correct. How can I fix this error to upload the app? Thanks!

How to resolve errors about manifests?

Hello, I am trying to put admob ads in my project.But when I try to build it for android it gives following error "Trying to merge incompatible /manifest/application/activity [@name=com.google.android.gms.ads.AdActivity] I have downloaded 1.8 jdk and and there is no trouble with my code as I have just cloned from GIthub. Please help me over this issue.

Why wont my android manifests merge???

![alt text][1]plz help this has cost me so much time and put a halt to my project i already matched the version numbers and made that error go away now im stfile:stuck with the same error below [1]: /storage/temp/102507-5a2af8d42a5ee64008bad47748018448.png

Manifest issues for Android

Hello, i'm trying to build my android project but i'm having issues. droidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.HostView:OnGUI() does anyone have any ideas? thanks a lot
Viewing all 330 articles
Browse latest View live