Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved android manifest asset doesnt get merge with final android apk manifest

Discussion in '2020.1 Beta' started by Aokkii, May 13, 2020.

  1. Aokkii

    Aokkii

    Joined:
    Nov 3, 2013
    Posts:
    117
    when using admob or google play services pluigin in 2020.1b8
    these plugins have a android manifest asset containing the admob app and app id respectively
    that the pluigins needs to work, but when building the apk, the final manifest doesn't contain said admob app id resulting in a crash when opening the game on android

    the manifest asset doesn't get imported/inyected/merged to the final build for some reason.

    Case 1245611



    edit: unity 2020.1 and up required to have android library folders with a ".androidlib"


    in my case i had to rename plugins/android/GoogleMobileAdsPluigin to
    plugins/android/GoogleMobileAdsPluigin.androidlib

    and also change the manifestprocessor.cs to link the corrected path.
     
    Last edited: May 18, 2020
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    Thanks for the bug report! We'll have a look.