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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    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,050
    Thanks for the bug report! We'll have a look.