Error Inflating Class Com.google.android.gms.ads.adview Android Studio
I'm going crazy. I'm trying to change admob using google play services. But i'm stuck on this error. Caused by: android.view.InflateException: Binary XML file line #53: Error infla
Solution 1:
The better way to include Google Play Services is via a Library dependency in the Project Structure dialog -- instead of adding the jar file as you have done, click the + button > Library dependency. Google Play Services should be in the list.
Also, if you're adding jar files, it's really best to not put them in the build folder -- that can get erased if you do a clean build. The best place is in a libs directory at your module root.
Post a Comment for "Error Inflating Class Com.google.android.gms.ads.adview Android Studio"