【发布时间】:2021-08-10 18:50:31
【问题描述】:
更新以下 Firebase 广告库后
implementation 'com.google.android.gms:play-services-ads:20.1.0'
implementation 'com.google.firebase:firebase-ads:20.1.0'
我的 android studio 项目不断抛出诸如此类的错误
cannot find symbol
import com.google.android.gms.ads.InterstitialAd;
Cannot resolve symbol 'InterstitialAd'
如果我恢复到就好了
implementation 'com.google.android.gms:play-services-ads:19.3.0'
implementation 'com.google.firebase:firebase-ads:19.4.0'
但要在我的应用中实现一些功能和原生广告,我需要最新的 firebase 广告库。我该如何解决这个问题?
【问题讨论】:
标签: android android-studio interstitial