Tabish
Tabish

Reputation: 400

What is Error:screenSize" />?

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

Upvotes: 7

Views: 649

Answers (2)

Zulqurnain Haider
Zulqurnain Haider

Reputation: 1197

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

Upvotes: 0

Rohan Pawar
Rohan Pawar

Reputation: 2003

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

Upvotes: 2

Related Questions