Android异常(二)
12-20 14:14:06.080: E/AndroidRuntime(19925): FATAL EXCEPTION: main
12-20 14:14:06.080: E/AndroidRuntime(19925): java.lang.IllegalStateException: A factory has already been set on this LayoutInflater
12-20 14:14:06.080: E/AndroidRuntime(19925): at android.view.LayoutInflater.setFactory(LayoutInflater.java:227)
12-20 14:14:06.080: E/AndroidRuntime(19925): at com.ih.base.activity.mail.MailListAct.setMenuBackground(MailListAct.java:216)
12-20 14:14:06.080: E/AndroidRuntime(19925): at com.ih.base.activity.mail.MailListAct.onCreateOptionsMenu(MailListAct.java:207)
12-20 14:14:06.080: E/AndroidRuntime(19925): at android.app.Activity.onCreatePanelMenu(Activity.java:2365)
12-20 14:14:06.080: E/AndroidRuntime(19925): at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:390)
12-20 14:14:06.080: E/AndroidRuntime(19925): at com.android.internal.policy.impl.PhoneWindow.onKeyDownPanel(PhoneWindow.java:654)
12-20 14:14:06.080: E/AndroidRuntime(19925): at com.android.internal.policy.impl.PhoneWindow.onKeyDown(PhoneWindow.java:1317)
12-20 14:14:06.080: E/AndroidRuntime(19925): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1794)
12-20 14:14:06.080: E/AndroidRuntime(19925): at android.view.ViewRoot.deliverKeyEventToViewHierarchy(ViewRoot.java:2599)
12-20 14:14:06.080: E/AndroidRuntime(19925): at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2574)
12-20 14:14:06.080: E/AndroidRuntime(19925): at android.view.ViewRoot.handleMessage(ViewRoot.java:1906)
12-20 14:14:06.080: E/AndroidRuntime(19925): at android.os.Handler.dispatchMessage(Handler.java:99)
12-20 14:14:06.080: E/AndroidRuntime(19925): at android.os.Looper.loop(Looper.java:130)
12-20 14:14:06.080: E/AndroidRuntime(19925): at android.app.ActivityThread.main(ActivityThread.java:3768)
12-20 14:14:06.080: E/AndroidRuntime(19925): at java.lang.reflect.Method.invokeNative(Native Method)
12-20 14:14:06.080: E/AndroidRuntime(19925): at java.lang.reflect.Method.invoke(Method.java:507)
12-20 14:14:06.080: E/AndroidRuntime(19925): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
12-20 14:14:06.080: E/AndroidRuntime(19925): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
12-20 14:14:06.080: E/AndroidRuntime(19925): at dalvik.system.NativeStart.main(Native Method)
未解决