- Home /
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()
Hello SaraCecilia,
how are you? thanks for replying.
Android SD$$anonymous$$ 5.1.1 API 22 Unity 5.0.2 p3
Answer by InfiniBuzz · Jul 14, 2015 at 05:04 PM
Hi
look at this answer http://answers.unity3d.com/questions/1006800/android-native-plugin-not-working-1.html
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.
Answer by Archviz3d · May 09, 2017 at 04:22 PM
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 :-)
hey i am stuck on this error please help
Temp\StagingArea\android-libraries\Heyzap\Android$$anonymous$$anifest.xml:4] Trying to merge incompatible /manifest/application/activity[@name=com.unity3d.player.UnityPlayerActivity] element:
UnityEditor.HostView:OnGUI()
Your answer
Follow this Question
Related Questions
unable to merge androidmenifest 1 Answer
How To fix FacebookSDK merge error in androidmanifest.xml ? 0 Answers
Merging 2 AndroidManifest.xml's 1 Answer
how can i merge two android manifest.xml files? 3 Answers
NoSuchMethodError calling android method 2 Answers