Solved: No resource identifier found for attribute ‘configchanges’ in package ‘android’

By | November 20, 2019 | 0 Comment
Category: Xamarin

I was following the Xamarin forms tutorial to integrate AdMob and following error came up

No resource identifier found for attribute ‘configchanges’ in package ‘android’

No matter what I did and tried to find on the internet but could not find the fix. Finally I tried to look very closely and found a small mistake. Here is what I copied from the tutorial

<activity android:name=”com.google.android.gms.ads.AdActivity” android:configchanges=”keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize” android:theme=”@android:style/Theme.Translucent”></activity>

and here is what it should be

<activity android:name=”com.google.android.gms.ads.AdActivity” android:configChanges=”keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize” android:theme=”@android:style/Theme.Translucent”></activity>

Notice that “C” in android:configChanges is capital.

That solved the issue.

 


About Vishal Monpara

Vishal Monpara is a full stack Solution Developer/Architect with 13 years of experience primarily using Microsoft stack. He is currently working in Retail industry and moving 1's and 0's from geographically dispersed hard disks to geographically dispersed user leveraging geographically dispersed team members.