Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug The option setting 'android.enableR8=false' is deprecated. Conflict between Admob & Firebase Plugin

Discussion in 'Unity Ads & User Acquisition' started by aqsanadeem82, Mar 31, 2023.

  1. aqsanadeem82


    Sep 15, 2018
    I was using Admob and it was building the game fine but when I Imported the firebase plugin it give the following error:
    WARNING: The option setting 'android.enableR8=false' is deprecated.
    It will be removed in version 5.0 of the Android Gradle plugin.
    You will no longer be able to disable R8

    I also encountered this error when I tried to implement a leaderboard when google admob and firebase was already there, in another project.

    I have tried nearly all solutions in this regard, but nothing works for me.
    Such as using this solution
    I need help with this.
  2. Unity_Andi


    Unity Technologies

    Aug 29, 2022
    Hey there,

    Would you be able to provide some more information about this issue? They would be very helpful during my investigation:
    • Which Unity version are you using?
    • Which version of the AdMob plugin you are using?
    • Which version of the Firebase Unity SDK are you using?
    • Can you provide a screenshot from the Unity Editor’s build settings window?
    • Also, if you changed something related to the Android in the Player Settings tab, please provide the screenshot from there as well.