Session 'app': Error Launching activity

来源:互联网 发布:淘宝上的喵喵通讯 编辑:程序博客网 时间:2024/05/16 09:17

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

Error running yiJiaoXing4Stu: This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version)

解决办法: 
在setting里面找到instant run 然后将instant run设置为disabled 
.如图所示: 
这里写图片描述 

0 0