Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
2
Question by fredddy14 · Jan 05, 2016 at 12:27 AM · errorandroid buildmanifest

Android Admob build error: Trying to merge incompatible

Hi,

I'm getting an error when I try to make an android build.

 Error: [Temp/StagingArea/AndroidManifest-main.xml:4, /Desktop/Unity Project/Temp/StagingArea/android-libraries/google-play-services_lib/AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.unity3d.player.UnityPlayerNativeActivity] element:
 
 UnityEditor.HostView:OnGUI()


 Error building Player: CommandInvokationFailure: Unable to merge android manifests. See the Console for more details. 
 /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/feliti/Library/Android/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/Unity.app/Contents/BuildTargetTools/AndroidPlayer/sdktools.jar" -
 
 stderr[
 Error: [Temp/StagingArea/AndroidManifest-main.xml:4, /Desktop/Unity Project/Temp/StagingArea/android-libraries/google-play-services_lib/AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.unity3d.player.UnityPlayerNativeActivity] element:
   <activity
 --    @android:label="@string/app_name"
 --    @android:name="com.unity3d.player.UnityPlayerNativeActivity">
 --    <intent-filter>
   <activity
 ++    @android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
 ++    @android:label="@string/app_name"
 ++    @android:launchMode="singleTask"
 ]
 stdout[
 
 ]
 

I have the Admob package imported and the google-playservices_lib folder in the the Plugins/Android directory, also using Unity 4.6.9f1

I'm not sure how to go about fixing this issue, any help would be great.

Thanks

Comment
Add comment · Show 3
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 fredddy14 · Jan 10, 2016 at 09:57 PM 0
Share

Anybody? please help

avatar image mehdi14 · Jan 11, 2016 at 03:27 PM 0
Share

i m using two plugin ( chartBoost and Admob ) and i don't get any problem for merging the manifest i using unity 5

avatar image dotWasim · Jul 31, 2016 at 02:28 PM 0
Share

did you fix the problem ?? I have same problem

0 Replies

· Add your reply
  • Sort: 

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

6 People are following this question.

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

Related Questions

Signed .apk error 0 Answers

Android build failes because of manifest 0 Answers

Android build error 0 Answers

Android app keeps quiting after adding Unity ads 0 Answers

AndroidManifest.xml file locations 1 Answer


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