Unable to add window -- token null is not for an application错误的解决方法 android开发

Caused by: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application


解决方法:可能是context的错误,进行排查。

程序员小冰博客:http://blog.csdn.net/qq_21376985 技术交流QQ986945193 微博:http://weibo.com/mcxiaobing
原文地址:https://www.cnblogs.com/mcxiaobing/p/5472107.html