java.lang.IllegalStateException:无法为v创建图层 [英] java.lang.IllegalStateException: Unable to create layer for v

查看:95
本文介绍了java.lang.IllegalStateException:无法为v创建图层的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在crashlytics上有这个例外,也不知道如何重现或可能是什么原因.有人对我应该开始寻找的地方有任何指示吗?仅会影响Android 5 +.

I have this exception on crashlytics and have no idea how to reproduce or what the cause might be. Does anyone have any pointers as to where I should start looking? Only affects Android 5+.

Fatal Exception: java.lang.IllegalStateException: Unable to create layer for v
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:323)
       at android.os.Looper.loop(Looper.java:135)
       at android.app.ActivityThread.main(ActivityThread.java:5585)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)

谢谢.

我想更新一下,它不仅会影响Android 5,而且似乎还会影响Android 5 +.

I would like to update that it doesn't only affect Android 5, it seems to affect Android 5+

推荐答案

此问题似乎与您应该查看自己进行的任何活动交易,尤其是makeSceneTransitionAnimation()的影响.

You should look at any activity transaction you are making and particularly for the effects of makeSceneTransitionAnimation().

这篇关于java.lang.IllegalStateException:无法为v创建图层的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆