遇到这种情况:
1:Enable Instant Run to hot swap code/resource changes on deploy (default enabled)
//启用即时运行 热交换代码/资源变化 部署(默认启用),android的新版本出了一个革命性的功能就是Instant Run(即时运行)!新的即时运行功能可以让开发者像写html网页一样写Android原生代码,能做到一边修改代码,一边在模拟器或者实际设备上看到 修改代码后的结果
2:Restart activity on code changes
//当代码变动时重启
3:Show toasts in the running app when changes are applied
//当代码变动应用时弹出toast
4:show Instant Run status notifications
//在notification里显示instant Run 的状态