프로그래밍/Error | 2014. 7. 8. 21:16
광고를 붙이고 디바이스에서 돌렸더니 이런 Error가 아래와 같이 나타났습니다.
missing adactivity with android.configchanges in androidmanifest.xml
구글링 해본결과, Androidmanifest.xml에 Android Activities, meta-data tag를 제대로 추가안한게 문제였습니다.
<!-- Denote the referenced Google Play services version -->
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<!-- Google Mobile Ads Activity -->
<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>
해결방법은 Androidmanifest.xml에 위의 내용을 다시 추가하면 됩니다.
[Unity3D] zipalign.exe가 없다는 빌드 에러. (0) | 2014.07.08 |
---|---|
[Unity3D] Failed to Wait on a semaphore (error no: 15) (0) | 2014.06.23 |
[Unity3D] The referenced script on this Behaviour is missing! (0) | 2014.06.21 |
Recent Comments