Android Question Error implement the FirebaseAdMob

Discussion in 'Android Questions' started by Gktech, Mar 7, 2018.

  1. Gktech

    Gktech Member Licensed User

    When I implement the admob firebase library I am getting the following error:
    java.lang.IllegalStateException: A required meta-data tag in your app's AndroidManifest.xml does not exist.  You must have the following declaration within the <application> element:     <meta-data android:name="" android:value="@integer/google_play_services_version" />
    What can it be?

    I follow the tutorial:
  2. DonManfred

    DonManfred Expert Licensed User

  3. Gktech

    Gktech Member Licensed User

    Thanks for the answer,
    I follow the two tutorials, but I keep resorting to the error:
    My manifest-code:
    '************ Firebase Ads ************
    "@android:style/Theme.Translucent" />
    activity android:name=""
    '************ Firebase Ads (end) ************
  4. DonManfred

    DonManfred Expert Licensed User

    The Manifest is TOTALLY INCOMPLETE!

    Go again over the Tutorial!!! This time read it carefully and add all needed snippets.
    Gktech and asales like this.
  5. Gktech

    Gktech Member Licensed User

    I have now added the Google Service portion now it no longer displays the error, and the application worked.
    thank you!
  6. asales

    asales Well-Known Member Licensed User

    Click on "Like" if the answer helped you and to show it to him. :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice