didi / DRouter

Android Router Framework
Apache License 2.0
743 stars 93 forks source link

运行报错 #38

Closed kaikaifly closed 2 years ago

kaikaifly commented 2 years ago

Cause: com/didi/drouter/plugin/RouterTransform 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

ztaober commented 2 years ago

我也遇到过 意思需要使用jdk8来编译 android.enableR8=false + minifyEnabled true + jdk8 + Drouter插件 = 编译通过 android.enableR8=false + minifyEnabled true + jdk11 + Drouter插件 = 编译报错 android.enableR8=true + minifyEnabled true + jdk11 + Drouter插件 = 编译通过

weigao123 commented 2 years ago

https://github.com/didi/DRouter/issues/31

参考下模板提问哈,我看看你是什么环境发生的