Issue Manifest Merge

Hi,

I am using 3 plugins:

• Soomla
• UnityAds
• Union Social

I have the following error copiling the Android version: (Can you help me?) Thank you!

CommandInvokationFailure: Unable to merge android manifests. See the Console for more details. 
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Developer/android-sdk-macosx/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/Unity.app/Contents/BuildTargetTools/AndroidPlayer/sdktools.jar" -

stderr[
Error: [Temp/StagingArea/AndroidManifest-main.xml:23, /Users/miguelangelalvarez/protoSki/Temp/StagingArea/android-libraries/unityads/AndroidManifest.xml:8] Trying to merge incompatible /manifest/uses-permission[@name=android.permission.WRITE_EXTERNAL_STORAGE] element:
  <uses-permission
--    @android:name="android.permission.WRITE_EXTERNAL_STORAGE">
--</uses-permission>
--(end reached)
  <uses-permission
++    @android:maxSdkVersion="18"
++    @android:name="android.permission.WRITE_EXTERNAL_STORAGE">
++</uses-permission>
]
stdout[

]
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()

Hi

look at this answer Android Native Plugin Not Working - Questions & Answers - Unity Discussions

For your error output find the AndoidManifest.xml that holds the WRITE_EXTERNAL_STORAGE permission. Probably in /Plugins/Android/untyads/AndroidManifest.xml and remove the android:maxSdkVersion tag as stated in the comments there.

If that doesn’t help check the other answer I linked to.

I had a similar issue (merging the android manifest of vuforia and everyplay) and deleting the line you said from everyplay manifest, just did the trick!! Thanks so much :slight_smile: