android studio编译时报ButterKnife错误

superclass access check failed: class butterknife.compiler.ButterKnifeProcessor$RScanner (in unnamed module @0x51c41dbc) cannot access class com.sun.tools.javac.tree.TreeScanner (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x51c41dbc

解决办法:

将jdk版本改到11就解决了

linux安装sudo apt install openjdk-11-jre-headless

你可能感兴趣的:(java,vue.js,jvm)