Session 'app': Error Launching activity

Android Studio升级到2.0,运行程序出现Session ‘app’: Error Launching activity,不能编译运行程序,发现是因为2.0的新特性“instant run”,我的解决办法是关闭这个功能,在File->Settings->Build, Execution,Deployment找到Instant Run,把打钩的选项都去掉,apply就可以了

你可能感兴趣的:(Session 'app': Error Launching activity)