Cause: com/android/tools/idea/gradle/run/OutputBuildAction has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
同一程序的拷贝文件,在同一个androidstudio下缺无法编译,报了上面问题。网上尝试很多方法,结果无用,自己把.idea\.gradle两个文件夹拷贝过来,问题解决。