您的位置:首页 > 移动开发

在创建一个Dialog时,发生的错误: Unable to add window -- token null is not for an application

2016-03-21 10:23 330 查看
在创建一个Dialog时,发生的错误:

Unable to add window -- token null is not for an application







不能用getAPplicationContext(),必须要有指定的activity
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: