Session 'app': Error Launching activity

更新Android studio2.0以后,运行程序会出现Session ‘app’: Error Launching activity错误。

在控制台的输出日志是:
这里写图片描述
解决办法:
在setting里面找到instant run 然后将instant run设置为disabled
.如图所示:
Session 'app': Error Launching activity_第1张图片
参考文档:

http://stackoverflow.com/questions/36530648/session-app-error-launching-activity

关于Instant run的介绍可以 参考文章:

http://www.open-open.com/news/view/c0aa96

你可能感兴趣的:(android)