Tuesday, December 17, 2013

android.view.InflateException: Error inflating class com.google.ads.AdView in android studio

Step 1:


Check Once, You need to put the admob jar (Download New Version) into the libs folder of your project.

Step 2:


Remove admob Jar in libs folder of your project

File -> Project Structure -> Modules -> Dependencies -> Add AdMob.jar File

Step 3: Check One Android Manifest File


<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

 

No comments:

Post a Comment