Reputation: 61
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
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.
There a lot of class has been renamed and removed. For detail here
Upvotes: 3
Reputation: 239
That was deprecated and got replaced with this tag NativeAdView
<com.google.android.gms.ads.nativead.NativeAdView>
Upvotes: 9
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