Failed looking up window - different behaviors from same app on 2 galaxy nexus

筅森魡賤 提交于 2019-11-30 13:51:13

The issue happened to me after switching build variants. Something may be messed up with your build. Try restarting Android Studio, clean and rebuild. That solved the issue for me.

Good luck!

Just found out why every activity dies. In Settings > Developer Options, there is a check box called "Don't keep activities" "Destroy every activity as soon as the user leaves it". The box was checked. I just unchecked it. That explains everything.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!