Skip to content Skip to sidebar Skip to footer

Missing Adactivity With Android Configchanges

build.gradle apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion '21.1.1' defaultConfig { applicationId 'com.exa

Solution 1:

The Android Manifest xml file is invalid, because you close your activity tag twice. If you close the <activity tag with /> then you don't need to put the closing </activity> after. In theory your IDE should have complained about that already before you run the app.

So just do:

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

instead of:

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

Post a Comment for "Missing Adactivity With Android Configchanges"