Android应用程序运行时出现异常并强行关闭

时间:2015-09-16 12:23:52

标签: smartface.io

我在我在Playstore上发布的应用程序中收到异常。异常和堆栈跟踪如下所示

  

java.lang.ClassCastException:android.widget.AbsoluteLayout $ LayoutParams无法强制转换为android.support.v4.widget.DrawerLayout $ LayoutParams       在android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:834)       在android.view.View.measure(View.java:17565)       在android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5537)       在android.widget.FrameLayout.onMeasure(FrameLayout.java:436)       在android.view.View.measure(View.java:17565)       在android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5537)       在android.support.v7.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:453)       在android.view.View.measure(View.java:17565)       在android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5537)       在android.widget.FrameLayout.onMeasure(FrameLayout.java:436)       在android.view.View.measure(View.java:17565)       在android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5537)       在android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)       在android.widget.LinearLayout.measureVertical(LinearLayout.java:722)       在android.widget.LinearLayout.onMeasure(LinearLayout.java:613)       在android.view.View.measure(View.java:17565)       在android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5537)       在android.widget.FrameLayout.onMeasure(FrameLayout.java:436)       在com.android.internal.policy.impl.PhoneWindow $ DecorView.onMeasure(PhoneWindow.java:2615)       在android.view.View.measure(View.java:17565)       在android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2045)       在android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1196)       在android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1409)       在android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1084)       在android.view.ViewRootImpl $ TraversalRunnable.run(ViewRootImpl.java:5990)       在android.view.Choreographer $ CallbackRecord.run(Choreographer.java:767)       在android.view.Choreographer.doCallbacks(Choreographer.java:580)       在android.view.Choreographer.doFrame(Choreographer.java:550)       在android.view.Choreographer $ FrameDisplayEventReceiver.run(Choreographer.java:753)       在android.os.Handler.handleCallback(Handler.java:739)       在android.os.Handler.dispatchMessage(Handler.java:95)       在android.os.Looper.loop(Looper.java:135)       在android.app.ActivityThread.main(ActivityThread.java:5343)       at java.lang.reflect.Method.invoke(Native Method)       在java.lang.reflect.Method.invoke(Method.java:372)       在com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:905)       在com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

请帮助我这个Smartface开发人员。

0 个答案:

没有答案