A askez Member Licensed User Longtime User Dec 16, 2011 #1 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?
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?
eps Expert Licensed User Longtime User Dec 16, 2011 #2 Looks like you've incorrectly placed the Admob info in the manifest file... Re-check this. Upvote 0
A askez Member Licensed User Longtime User Dec 16, 2011 #3 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
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>
A askez Member Licensed User Longtime User Dec 16, 2011 #4 also i'm running on ver 13 (prtsc attached) Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 16, 2011 #5 You should configure Basic4android to use SDK 13. This is done by changing Tools - Configure paths. Choose android.jar from platform-13 folder. Upvote 0
You should configure Basic4android to use SDK 13. This is done by changing Tools - Configure paths. Choose android.jar from platform-13 folder.