Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by tremendo · Jul 14, 2015 at 11:28 AM · androidmanifestnativemerge

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

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tremendo · Jul 14, 2015 at 11:52 AM 0
Share

Hello SaraCecilia,

how are you? thanks for replying.

Android SD$$anonymous$$ 5.1.1 API 22 Unity 5.0.2 p3

2 Replies

· Add your reply
  • Sort: 
avatar image
3

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

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 :-)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image KingKong320 · Jun 01, 2018 at 05:43 AM 0
Share

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

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges