码迷,mamicode.com
首页 > 移动开发 > 详细

Android Exception 9(requestFeature() must be called before adding content)

时间:2014-08-05 18:53:29      阅读:313      评论:0      收藏:0      [点我收藏+]

标签:android   java   os   io   for   art   ar   cti   

08-05 17:36:12.799: W/System.err(10378): java.lang.reflect.InvocationTargetException
08-05 17:36:12.799: W/System.err(10378):     at java.lang.reflect.Method.invokeNative(Native Method)
08-05 17:36:12.809: W/System.err(10378):     at java.lang.reflect.Method.invoke(Method.java:511)
08-05 17:36:12.809: W/System.err(10378):     at com.tongyan.yanan.tfinal.annotation.view.EventListener.invokeClickMethod(EventListener.java:108)
08-05 17:36:12.809: W/System.err(10378):     at com.tongyan.yanan.tfinal.annotation.view.EventListener.onClick(EventListener.java:98)
08-05 17:36:12.809: W/System.err(10378):     at android.view.View.performClick(View.java:4100)
08-05 17:36:12.809: W/System.err(10378):     at android.view.View$PerformClick.run(View.java:17016)
08-05 17:36:12.809: W/System.err(10378):     at android.os.Handler.handleCallback(Handler.java:615)
08-05 17:36:12.809: W/System.err(10378):     at android.os.Handler.dispatchMessage(Handler.java:92)
08-05 17:36:12.809: W/System.err(10378):     at android.os.Looper.loop(Looper.java:137)
08-05 17:36:12.809: W/System.err(10378):     at android.app.ActivityThread.main(ActivityThread.java:4815)
08-05 17:36:12.809: W/System.err(10378):     at java.lang.reflect.Method.invokeNative(Native Method)
08-05 17:36:12.809: W/System.err(10378):     at java.lang.reflect.Method.invoke(Method.java:511)
08-05 17:36:12.809: W/System.err(10378):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
08-05 17:36:12.809: W/System.err(10378):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
08-05 17:36:12.809: W/System.err(10378):     at dalvik.system.NativeStart.main(Native Method)
08-05 17:36:12.809: W/System.err(10378): Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
08-05 17:36:12.809: W/System.err(10378):     at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:215)
08-05 17:36:12.809: W/System.err(10378):     at com.android.internal.app.AlertController.installContent(AlertController.java:234)
08-05 17:36:12.809: W/System.err(10378):     at android.app.AlertDialog.onCreate(AlertDialog.java:336)
08-05 17:36:12.819: W/System.err(10378):     at android.app.Dialog.dispatchOnCreate(Dialog.java:351)
08-05 17:36:12.819: W/System.err(10378):     at android.app.Dialog.show(Dialog.java:256)
08-05 17:36:12.819: W/System.err(10378):     at com.tongyan.yanan.common.widgets.view.MDateTimePickerDialog.show(MDateTimePickerDialog.java:172)
08-05 17:36:12.819: W/System.err(10378):     at com.tongyan.yanan.act.oa.OaScheduleAddAct.endTimeListener(OaScheduleAddAct.java:151)
08-05 17:36:12.819: W/System.err(10378):     ... 15 more

 

Dialog 和AlertDialog的区别

Android Exception 9(requestFeature() must be called before adding content),布布扣,bubuko.com

Android Exception 9(requestFeature() must be called before adding content)

标签:android   java   os   io   for   art   ar   cti   

原文地址:http://www.cnblogs.com/royi123/p/3892801.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!