Missing adactivity with android.configchanges in androidmanifest.xml

구글 애드몹 광고를 붙이려는데 위와 같은 에러가 발생되었다

androidmanifest.xml

파일에 아래 내용을 추가하면 된다.

<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<activity android:name="com.google.android.gms.ads.AdActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
</activity>

+ Recent posts

티스토리 툴바