UnifiedNativeAdView, was not found in the project or the libraries

Viewed 3504

I added the required dependency. But the Android Studio is showing the below line. Adview is showing and no other issue. I checked everything carefully, But I see the below time every time.

com.google.android.gms.ads.formats.UnifiedNativeAdView, was not found in the project or the libraries

4 Answers

That was deprecated and got replaced with this tag NativeAdView

<com.google.android.gms.ads.nativead.NativeAdView>

If you were using SDK v20

for ex:

implementation 'com.google.android.gms:play-services-ads:20.4.0' // end more

you have to notice this changes.

list changes There a lot of class has been renamed and removed. For detail here

Have you recently upgraded to admob 20.1.0?

Related