Basudeb Barman
Basudeb Barman

Reputation: 61

UnifiedNativeAdView, was not found in the project or the libraries

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

Upvotes: 5

Views: 6732

Answers (4)

Nanda Z
Nanda Z

Reputation: 1886

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

Upvotes: 3

Mubaraka Mubahood
Mubaraka Mubahood

Reputation: 239

That was deprecated and got replaced with this tag NativeAdView

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

Upvotes: 9

Nitin Jain
Nitin Jain

Reputation: 1344

Have you recently upgraded to admob 20.1.0?

Upvotes: 0

Nana Ghartey
Nana Ghartey

Reputation: 7927

Check the version of google ads you're using. It could be the dependency you have is an older version. Is it >= 17.0.0? Check the release notes https://developers.google.com/admob/android/rel-notes?hl=es

Upvotes: 0

Related Questions