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 Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

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

Discussion in 'Android' started by aqsanadeem82, Mar 31, 2023.

  1. aqsanadeem82

    aqsanadeem82

    Joined:
    Sep 15, 2018
    Posts:
    74
    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 http://answers.unity.com/answers/1859781/view.htmlhttp://answers.unity.com/answers/1859781/view.html
    I need help with this.
     
  2. BBO_Lagoon

    BBO_Lagoon

    Joined:
    Mar 2, 2017
    Posts:
    183
    Hi,
    For your information, "WARNING: The option setting 'android.enableR8=false' is deprecated." is not an error but just a warning. This does not affect your build at all.
    If your build has errors try looking after in the logs.