Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    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,111
    Thanks for the bug report! We'll have a look.