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
0
Question by usamairshad66666 · Aug 31, 2019 at 02:45 PM · adsadmobandroid-manifest

After applying ads, unable to merge android manifests

After using admob, Unable to merge android manifest.. I have also edited android manifest and now it has same target API as in player settings.. here's the error.. CommandInvokationFailure: Unable to merge android manifests. C:\Program Files\Unity\Hub\Editor\2018.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\OpenJDK\Windows\bin\java.exe -Xmx4096M -Dcom.android.sdkmanager.toolsdir="D:/Software/Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Hub\Editor\2018.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

stderr[ Error:Invalid command manifmergerfallback ] stdout[

] exit code: 64 UnityEditor.Android.AndroidSDKTools.RunCommand (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, System.String workingdir, System.String errorMsg, System.Int32 memoryMB) (at :0) UnityEditor.Android.AndroidSDKTools.RunSDKToolWithReadLock (System.String[] command, System.String workingdir, System.String errorMsg) (at :0) UnityEditor.Android.AndroidSDKTools.MergeManifests (UnityEditor.Android.AndroidJavaTools javaTools, System.String target, System.String mainManifest, System.Collections.Generic.IEnumerable`1[T] libraryManifests) (at :0) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String mainManifest, System.String targetManifest) (at :0) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Comment
Add comment · Show 12
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 xxmariofer · Aug 31, 2019 at 05:39 PM 0
Share

why dont you merge them manually? its basically coping the content from one to another. anyway, make sure your manifest has no erros maybbe is missing something

avatar image usamairshad66666 · Sep 01, 2019 at 06:22 AM 0
Share

@xxmariofer how to do this? .. and tell me one thing that is it necessary for the version written in all manifests to be same as in build settings ??.. sorry for bad english

avatar image xxmariofer usamairshad66666 · Sep 01, 2019 at 07:36 AM 0
Share

dont you have multiple manifest? or the issue is merging with unitys manifest? and no there iis no need will totally depend on you r needs unity target will override yours

avatar image usamairshad66666 · Sep 01, 2019 at 08:02 AM 0
Share

@xxmariofer actually I was trying to apply admob ads when this error occurred.. I have two Androidmanifests.. One in plugins/Android.. And 2nd in plugins/Android/google$$anonymous$$obileAdsPlugins... I also dragged Androidmanifest-main in Plugins/Android for editing.. And then changed its $$anonymous$$SdkVersion to 16 and targetSdkVersion to 28..as in player settings

avatar image xxmariofer usamairshad66666 · Sep 01, 2019 at 08:20 AM 0
Share

are you sure both manifest are well formated? if you remove one of them it works?

avatar image usamairshad66666 · Sep 01, 2019 at 09:23 AM 0
Share

@xxmariofer yeah I deleted the Android manifest from plugins/Android/google$$anonymous$$obileAdsPlugins .. And it worked.. But I wanna apply ads in my game.. Then how should I edit that Android manifest in plugins/Android/google$$anonymous$$obileAdsPlugins?

avatar image xxmariofer usamairshad66666 · Sep 01, 2019 at 09:27 AM 0
Share

please post it as comments not aanswers, and are you sure the manifest was well formated? what you can do is copying all the info from one manifest into the other making sure the format is preserve

avatar image usamairshad66666 xxmariofer · Sep 01, 2019 at 10:20 AM 0
Share

here is the picture of plugins/android/google$$anonymous$$obileAdsPlugins/android$$anonymous$$anifests

[1]: /storage/temp/145552-android-manifest.png

android-manifest.png (101.7 kB)
Show more comments
avatar image usamairshad66666 usamairshad66666 · Sep 01, 2019 at 09:58 AM 0
Share

I'm doing this first time I don't know its format.. Let me show you its picture

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Venture87 · Sep 10, 2019 at 11:43 PM

Can you post the manifests?

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

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

115 People are following this question.

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

Related Questions

Admob ads are not working. 1 Answer

Unity Ads - Androidmanifest FileNotFoundException error 1 Answer

Where can I put Ad admob ID? 0 Answers

Admob Interstitial Ads are not working in IOS, but it is working in Android 0 Answers

Admob Memory Issues 0 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