diff --git a/app/src/main/kotlin/jackall/overlaymulticounter/utils/AdUtil.kt b/app/src/main/kotlin/jackall/overlaymulticounter/utils/AdUtil.kt index 3e57027..5f90e09 100644 --- a/app/src/main/kotlin/jackall/overlaymulticounter/utils/AdUtil.kt +++ b/app/src/main/kotlin/jackall/overlaymulticounter/utils/AdUtil.kt @@ -5,7 +5,6 @@ import com.google.android.gms.ads.AdRequest import com.google.android.gms.ads.AdSize import com.google.android.gms.ads.AdView -import com.google.android.gms.ads.MobileAds /** * Created by matsumoto_k on 2017/11/10. @@ -13,7 +12,6 @@ class AdUtil { companion object { fun startBannerAd(context: Context, frameLayout: FrameLayout, adSize: AdSize, unitId: String) { - MobileAds.initialize(context) val adBannerView = AdView(context) adBannerView.adSize = adSize adBannerView.adUnitId = unitId