Hello,
I spent whole day on trying to resolve this issue, still no luck
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/hp/android-sdks ools” -Dfile.encoding=UTF8 -jar “C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -
stderr[
Error: [Temp\StagingArea\AndroidManifest-main.xml:21, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\admoblib-release\AndroidManifest.xml:3] Main manifest has but library uses minSdkVersion=‘15’
]
stdout[
Warning: [Temp\StagingArea\AndroidManifest-main.xml:21, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\admoblib-release\AndroidManifest.xml:3] Main manifest has but library uses targetSdkVersion=‘26’
[Temp\StagingArea\AndroidManifest-main.xml, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\support-compat-26.1.0\AndroidManifest.xml:6] Skipping identical /manifest/application/meta-data[@name=android.support.VERSION] element.
[Temp\StagingArea\AndroidManifest-main.xml, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\support-v4-26.1.0\AndroidManifest.xml:6] Skipping identical /manifest/application/meta-data[@name=android.support.VERSION] element.
Warning: [Temp\StagingArea\AndroidManifest-main.xml:21, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\unity-adapter-2.1.0.0\AndroidManifest.xml:3] Main manifest has but library uses targetSdkVersion=‘25’
]
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()