AdMob error

askez

Member
Licensed User
Longtime User
hi,
i get this error trying to run AdMod:

AndroidManifest.xml:23: error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize').

any idea?
 

askez

Member
Licensed User
Longtime User
i think i followed instraction well..

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="preg.calc"
android:versionCode="2"
android:versionName="B"
android:installLocation="internalOnly">
<uses-sdk android:minSdkVersion="4" />
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
<application android:icon="@drawable/icon" android:label="טיפת חלב ברשת - מחשבון הריון">

<activity android:windowSoftInputMode="stateHidden" android:launchMode="singleTop" android:name=".main"
android:label="טיפת חלב ברשת - מחשבון הריון" android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- *** For AdMob: manually added *** -->
<activity android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

</application>
<!-- permissions required by AdMob -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

</manifest>
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…