this version of the Java Runtime only recognizes class file versions up to 52.0.

Class has been compiled by a more recent version of the Java Environment (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0.
遇到这个问题直接直接设置下gradle的jdk版本就行了,快速设置方法
49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14
59 = Java 15
60 = Java 16
61 = Java 17
62 = Java 18
63 = Java 19
this version of the Java Runtime only recognizes class file versions up to 52.0._第1张图片
this version of the Java Runtime only recognizes class file versions up to 52.0._第2张图片点击ok即可

你可能感兴趣的:(android,android,java)