token android.app.LocalActivityManager$LocalActivityRecord is not valid
2011-12-31 17:33
447 查看
TabActivity调用Acitivity, 如果在子Activity里面显示AlertDialog的引发的这个错误。
解决方法:
将AlertDialog.Builder(
AlertDialog.Builder(你的activity.this) 改成AlertDialog.Builder(this.getParent())
解决方法:
将AlertDialog.Builder(
AlertDialog.Builder(你的activity.this) 改成AlertDialog.Builder(this.getParent())
相关文章推荐
- Android 错误:token android.app.LocalActivityManager$LocalActivityRecord is not valid
- Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@435def20 is not v
- 环境错误Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@435def20 is not v
- ActivityGroup中出现的Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@
- Unable to add window — token android.os.BinderProxy is not valid; is your activity running?
- Activity has leaked window that was originally added -界面退出时未关闭对话框异常 android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? -
- 运行异常:android.view.WindowManager$BadTokenException:is not valid; is your activity running?
- Unable to add window — token android.os.BinderProxy is not valid; is your activity running?
- Unable to add window -- token android.os.BinderProxy@xxx is not valid; is your activity running
- Unable to add window -- token android.app.LocalActivityManager$Loc
- Unable to add window -- token android.os.BinderProxy@XXX is not valid; is your activity running?
- 开发中碰到的问题:token null is not valid; is your activity running?
- Unable to add window -- token null is not valid; is your activity running?
- bug--Unable to add window –token is not valid; is your activity running?
- Unable to add window -- token null is not valid; is your activity running?
- Unable to add window --token is not valid; is your activity running?
- Android第三方框架开发之niftydialogeffects二次打开报错问题Unable to add window 。。is not valid; is your activity run解决
- Android 后台线程弹对话框导致程序崩溃(is not valid; is your activity running)
- - Unable to add window -- token null is not valid; is your activity running?
- android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is yo