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

Android Studio中手机能连接上ADB不过一直跑不起来(或者应用出现短暂的白屏)

2017-06-01 10:38 316 查看

AS中手机能连接上ADB不过一直跑不起来(或者应用出现短暂的白屏),关闭这个选项Enable Instant Run to hot swap code/resource changes on deploy(default enabled)

路径:

Setting -> Build,Execution,Deployment -> Instant Run - Enable Instant Run to hot swap code/resource changes on deploy(default enabled)





简单说一下这个几个选项:

1:Enable Instant Run to hot swap code/resource changes on deploy (default enabled)

//启用即时运行 热交换代码/资源变化 部署(默认启用)

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 的状态
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐