Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Crush if starts in landscape #69

Closed
thomcz opened this issue Dec 1, 2016 · 0 comments
Closed

App Crush if starts in landscape #69

thomcz opened this issue Dec 1, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@thomcz
Copy link
Member

thomcz commented Dec 1, 2016

App Crush if starts in landscape or if open app comming from another app, that is in landscape mode.
this should not hapen.

Exception:
android.content.res.Resources$NotFoundException: File res/drawable/background_splash.xml from drawable resource ID #0x7f02004b
at android.content.res.Resources.loadDrawableForCookie(Resources.java:2626)
at android.content.res.Resources.loadDrawable(Resources.java:2528)
at android.content.res.Resources.getDrawable(Resources.java:823)
at android.content.res.Resources.getDrawable(Resources.java:799)
at android.content.Context.getDrawable(Context.java:403)
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3890)
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3937)
at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1994)
at android.app.Activity.dispatchEnterAnimationComplete(Activity.java:5639)
at android.app.ActivityThread.handleEnterAnimationComplete(ActivityThread.java:2585)
at android.app.ActivityThread.access$3200(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1535)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5294)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #8: requires a valid src attribute
at android.graphics.drawable.BitmapDrawable.updateStateFromTypedArray(BitmapDrawable.java:753)
at android.graphics.drawable.BitmapDrawable.inflate(BitmapDrawable.java:718)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:1128)
at android.graphics.drawable.LayerDrawable.inflateLayers(LayerDrawable.java:204)
at android.graphics.drawable.LayerDrawable.inflate(LayerDrawable.java:145)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:1128)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:1032)
at android.content.res.Resources.loadDrawableForCookie(Resources.java:2616)
... 18 more

@thomcz thomcz added the bug label Dec 1, 2016
@thomcz thomcz added this to the Version 1.01 milestone Dec 1, 2016
This was referenced Dec 3, 2016
@thomcz thomcz self-assigned this Jan 2, 2017
@thomcz thomcz closed this as completed Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant