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
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