Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Is this a tell-tale sign that the lowest version we must compile for is Android 3.2 (API 13)?

Author
Message
ThrOtherJoJo
12
Years of Service
User Offline
Joined: 24th Mar 2012
Location: California
Posted: 27th Nov 2014 08:18 Edited at: 27th Nov 2014 08:39
Has anyone come across the problem with 'Missing AdActivity with android:configChanges in AndroidManifest.xml' error that keeps Ads from showing?

When I try to build for the API Level 9 and 10 I get an error in the AndroidManifest.xml file.
Quote: "
<activity android:name="com.thegamecreators.agk_player.IAPActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:label="@string/app_name"
android:exported="false"
android:theme="@style/Theme.Transparent">
</activity>

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


In order to compile I have to remove the |screenSize|smallestScreenSize from the android:configChanges element but when I do I get the error and it keeps ads from showing in production.



Prove Your Worthiness
KG2Entertainment.com
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 1st Dec 2014 16:44
You must compile with the 3.2 SDK (API 13) to remove the errors you mentioned, but you can target down to Android 2.3.3 (API 10) in the AndroidManifest.xml file.
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 2nd Dec 2014 01:33
You should really have your min SDK version at 10 and the max at 19 or 21.
I've got my stuff updated to use 21 (only required a small change to IAB). 13 (or lower) will get you listed as "made for phones" and I'm sure it will be deprecated soon as it is really old.

Login to post a reply

Server time is: 2024-11-25 11:54:58
Your offset time is: 2024-11-25 11:54:58