[android] Admob Custom Video Rewarded/interstitial/banner Tutorial

Discussion in 'Advertising' started by lqur, Apr 30, 2019.

  1. Diagonal Games

    Diagonal Games Boxer

    Joined:
    Dec 19, 2019
    Messages:
    5
    Likes Received:
    3
    in BB2 I get a lot of error like:

    error: package com.google.android.gms.ads does not exist
    error: package com.google.android.gms.ads does not exist
    error: package com.google.android.gms.ads does not exist
    error: package com.google.android.gms.ads does not exist
    error: package com.google.android.gms.ads does not exist
    error: package com.google.android.gms.ads.reward does not exist
    error: package com.google.android.gms.ads does not exist
    error: package com.google.android.gms.ads.reward does not exist
    error: package com.google.android.gms.ads.reward does not exist
    error: cannot find symbol class AdView
    error: cannot find symbol class InterstitialAd
    error: cannot find symbol class RewardedVideoAd
    error: cannot find symbol variable MobileAds
    error: cannot find symbol class AdView
    error: cannot find symbol variable AdSize
    error: cannot find symbol class AdRequest
    error: package AdRequest does not exist

    etc...
    Why?
     
  2. creativesoffice

    creativesoffice Boxer

    Joined:
    Oct 22, 2015
    Messages:
    68
    Likes Received:
    23
    Make sure you add this to your Gralde settings depedencies. Once you add the code sync your file and export apk. Should work after.

    implementation 'com.google.android.gms:play-services-ads:17.2.0'

    Replace smileface with : and p Due to formating is making these a smily face.
     
  3. Diagonal Games

    Diagonal Games Boxer

    Joined:
    Dec 19, 2019
    Messages:
    5
    Likes Received:
    3
    Than you!
     
  4. dev7pluse

    dev7pluse Boxer

    Joined:
    Jan 23, 2020
    Messages:
    4
    Likes Received:
    2
     

Share This Page