What is Error:screenSize" />?
Asked Answered
E

2

7

I am getting this error on installing and launching the app, but it does not effect working of my app. But still why am I getting this :

Error:screenSize" />

This is the error

Extravehicular answered 29/1, 2018 at 10:56 Comment(1)
getting same errorMonophony
M
2

I was getting the same error but project run successfully

the problem occurred whenever I collapse tag

for example

 <activity
            android:name=".DetailActivity"
            android:configChanges="keyboardHidden|screenSize|orientation" />

then i did like this

<activity
            android:name=".DetailActivity"
            android:configChanges="keyboardHidden|screenSize|orientation"></activity>

now error disappears and Android Studio gives me warning "XML tag has empty body"

No exact solution found

Tested on

Android Studio 3.0.1

Monophony answered 14/3, 2018 at 13:13 Comment(3)
whenever i use facebook ads this happens fb native adsExtravehicular
in my case, it happens in everytime with close tagMonophony
@ZulqurnainJutt actually i could not found any strong solution rather than thisMonophony
T
0

In my case above solution didn't worked , so i debugged a bit and found out that facebook SDK didn't mention about any manifest changes in their documentation , but somewhere i found this on blog

Solution

Add/update below code in your manifest( if using Facebook Ads SDK ):

 <activity
            android:name="com.facebook.ads.AudienceNetworkActivity"
            android:configChanges="keyboardHidden|orientation|screenSize" />

Apparently the conclusion is you maybe missing activity declaration in manifest of some sorts, Hope this post will help someone in future.

Tip:

Open your Manifest and switch to merged manifest tab and recheck it that it is merged okay

Toussaint answered 28/3, 2018 at 11:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.