Search Unity

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:
    76
    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:
    200
    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.